Unfortunately, you cannot save your game progress on the online version of the subway surfers game. So, if you exit the Subway Surfers online game once, you will lose your progress.
Therefore, the only way to save your progress is to keep your device turned on for as long as possible.