In Thunderbird you can archive a message if you hit a.
For example, in the Mail app on macOS there is an option to undo the last action including archiving.
Is it possible to do the same in Thunderbird? Pressing Control-z does not work.
I found this related question: Undo delete / move to trash in Thunderbird.
From what I learned from that, it seems to me like Control+Z does work, but doesn't display the changes. Pressing F5 afterwards worked for me.