It rather often happens that I accidently close a tab, mostly when closing an SSH session. It would be great if one could revert that change by the usual undo feature that other applifcations (not just editors, but also web browsers etc) offer. Alternatively, it would be great if one could pin tabs, blocking any attempt to close tabs as long they're in pinned state.
I would like this too. macOS Terminal has an "undo closed tab" feature and I made use of it quite often back when I was a Mac user.