Hello ! I'm Aymeric, and I'm here to help !
Open the Microsoft Edge settings and select "Start, home and new tabs" on the left. Make sure you selected "Open tabs from the previous session".
This way, pinned tabs on Microsoft Edge will be kept when closing the browser.
Feel free to ask if you have any other question !