How do I reset/reinstall Safari without opening it?

Solution 1:

Clear the saved state files so that it doesn't try to reopen those tabs next time it starts.

From Finder:

  • Cmd ⌘ N
  • Cmd ⌘ Shift ⇧ G
  • Copy/paste ~/Library/Saved Application State/com.apple.Safari.savedState

Delete the contents of that folder [data, window_7, windows] not the entire folder, as it's an alias. The next start of Safari should be clean.