Is there a way to restore tabs when accidentally moved

I often have 3-5 remote desktop sessions at a time. The ability to just switch from tab to tab at the top is a great feature. However, if I accidentally 'undock' a tab I don't know how to 're-dock' it to the original tabs…. any ideas?