If you’ve mistakenly closed Safari on an Apple Mac computer and lost the many tabs and pages that were open, you can get those tabs back.
Start Safari again and before doing anything else, under the History menu, choose “Reopen All Windows from Last Session” as shown below.