I just hit Cmd-Q by accident in Safari again. With a lot of tabs open.

defaults write com.apple.Safari NSUserKeyEquivalents -dict-add "Quit Safari" "nil"

Even better would be if Safari remembered the pages you had open when it quit or (especially) crashed. Galeon did that for me years ago.

21 July 2004
os10