In case you're mad at yourself for closing your precious window with all the right tabs opened, note that Firefox allows to reopen recently closed windows
I generally have a "home" Firefox window with my most used tabs pinned. Sometimes I close it before another window, so I was frustrated to "lose" it and having to redo my pins. But recently I discovered this feature. Joy!
Yeah it does break the pattern but there isn't much of an option that keeps everything super clean like tjat, unless it's something like ctrl alt N for a private window.
I think that's a fairly recent change, I remember reading it in the changelogs. There was also something else relating to the feature, but now I don't remember