When I force the immediate exit of Safari with open tabs, then restart Safari, this message appears:
Safari was last opened when opening Windows terminated immediately. Do you want try to open the windows again to open?
If you stipulate that window won't do it again you may have to open and position the window yourself.
I deleted the Safari location before opening Safari, so before the message appeared, everything in
~/Library/Safari was deleted. How can Safari restore everything? I also used the
purge command line utility to purge the RAM.