`Next time you do that, resize the window to your preference, then when you exit, use ctrl exit. Sometimes you have to use the menu, and not the red X, not sure why. If that doesn't work, try the same thing with Shift exit. I might be remembering the key wrong :^D