Or Exit under the hamburger menu, if you don't want to remember the keyboard shortcut.
Re:Firefox Keeps Getting Faster
by mixmastamyk on Saturday December 09, 2023 @06:18PM
(#38587218)
Ctrl+Q or Cmd+Q for Mac.
Alt+F, Q exits all windows at once and also restores them the next time you launch firefox.