Running notebook script without staying connected via the browser for the entire duration

Is it possible to set a training model to run on the notebook on the Anaconda cloud without keeping the browser open for the entire duration of the training, especially if it takes hours? Basically, can the kernel run without keeping the browser open. Typically for VMs in cloud, we can remotely log in, setup a script to run, disconnect, and again log in later to check the progress in the VM. Is something like this possible?
Thank you