If you save your training model, then you can shut down DeepFaceLab as long as you like. As long as the training model is saved where the application will find it, it will pick up where it left off when you start again.
The trick is hitting enter after clicking the preview pane, doing that saves at the current epoch and lets you close what ever you want for as long as you want