MacBook Pro: How to open last terminal tabs on restart?
I don't have enough reputation to post a comment, so I will post an answer instead, though I don't expect it to solve your problem.
If you're asking for a one-time restore (like the "Recently closed tabs" option in Chrome), I don't know of any way to "restore" those specific tabs and commands. You can type history
into the Terminal and it will list the last 500 commands issued, if you're just trying to remember the commands you entered previously.
Perhaps you could save your tabs as a Window Group before restarting your computer if this is something that happens on a regular basis. Do this by clicking on the Window menu, then clicking "Save Windows as Group..." and name the window group then select the "Restore all commands" option.