(SSMS) How do you prevent an open tab from querying a DB after disconnecting the server
The Object Explorer pane and the Query pane are independent. You can have the Object Explorer connected without having a Query connected, and vice versa. 

The menu option you probably want is Query -> Connection -> Disconnect. 

HTH