Firefox does not have "Go back" accessible through the menu, although the "Backspace" keystroke works. Chrome also does not have a "Go back" accessible through the menu that I can find. Hovering over the Back button shows how to click to access history.
Does not work for me, FF 38. This feature used to throw me out of forms all the time, there has been a couple of years that it stopped.
Now the only FF keystroke that annoys me is the CTRL-q for closing the window, that conveniently is just by the side of CTRL-w for closing the tab, and does not save the window state.
Are you on Linux? Backspace to go back only works on Windows and OS X because this behavior was apparently un-Linux-like. You can change this behavior with the browser.backspace_action about:config pref:
http://kb.mozillazine.org/Browser.backspace_action
Here is a Firefox bug to make Backspace work on Linux Firefox the same as it does on Windows and OS X:
Do any of these options work to get your state back after accidentally closing the browser?(1) Is control-w significantly different than pressing the x on the Window? Just curious.
(1) https://support.mozilla.org/en-US/kb/how-do-i-restore-my-tab...
(Might not work if you delete history on close)