Bring all tabs to this window - how to undo?

I accidentally clicked on “Bring all tabs to this window” right-click menu option while trying to bookmark multiple tabs. Multiple windows with hundreds of tabs got squished into one. Is there a way to reverse this?

No such option as far as I’m aware.