To disconnect from a database, click on the item's Disconnect database button on the Database Connections panel.