Have option for Pinned tabs to be ever present

I noticed that when I close using the X in the top right, the pinned tabs all close. However, going to the menu and selecting “exit” preserves pinned tabs.