Save state of ubuntu when switching to windows


I have a pc that runs ubuntu and windows and occasionally I have to switch to windows since things aren’t always compatible with ubuntu. Therefore, I must close all open applications and open windows. Any way I can preserve the state of ubuntu when switching to windows so I don’t have to reopen all my previously opened applications?