Not sure if this is what you’re saying, but macOS no longer needs you to choose to save in order to retain your work. Rebooting after having 50 unsaved documents open means you get the same 50 windows. Most likely with the very last letter you typed still there (other than that: maybe a word or two needs to be retyped)