When you shutdown MacOS, all actually open applications are restarted on reboot excepted Xojo (the IDE). And this is probable from before El Capitan (3 OS major versions away ?). I am quite sure that Windows 10 already have this set of features. Linux ? (I do not know).
Better: the opened documents (and the unsaved documents) are re-opened and displayed… Go figure…
That is far beyond what Paul ask (but it can be what the user(s) are asking).
I was asking that in last March. I do not answer to that, but smiled thinking (“Hey man, did you ask similar kind of question to Microsoft for the Word software you are using everyday ?”). After that, I discovers that the guy have very little knowledge on the computer industry and as end user ;)