How Do I Close Tabs?

Click on the X on the right side of the tab header. This will close the tab and the last page you visited will be your current active page.

Changing community sites will close all currently open tabs, and you will be taken to the home page of the newly selected community site.