Lost data of trained model

The training of the model takes a lot of time and after the training when I close my PC to the tab all the data is lost and the training gets useless. Is there any way to save the model in such a way so that I can use it even after closing the tab?

This is a very descriptive link from tensorflow helping you save weights.