No new tabs can be stored in the window, they will all be lost on the next exit. In Firefox 92-93, if you have Firefox set to restore your previous session and you close out by closing every single tab, Firefox will store a corrupted window in your session history file. You may need to forget about restoring that session and start a new one.