Stumbled into a this using Safari, if you accidentally close the tab, immediately press Command-Z it — undoes the close! No need to dig through history.
Trick: Reopen Last Closed Tab in Safari
Stumbled, quite by accident, in how to open the last closed tab in Safari…