OSX (10.11, El Capitan)
Given a terminal window with multiple tabs, it is possible to drag a tab out of its window so that it becomes a new separate window.
Is it possible to put it back?
Yes, just go under the Windows menu item and select "Merge All Windows".