The initial request was for suspend / restore, cause people let application run when they suspend laptop. Typical example: I work in office, then close laptop (it suspends) and open it at home. It causes in the past some problems and unsaved files was lost. This feature prevents it - it saves unsaved files locally into %Temp%\PSPad\Resume folder.
When you close PSPad manually, PSPad asks you what to do with modified or unsaved files. It's fully under user control if he wants to save files or dismiss changes. -- <https://forum.pspad.com/read.php?2,53682,73387> PSPad freeware editor https://www.pspad.com