I dropped a database from SQL Server, however it turns out that my login was set to use the dropped database as its default. I can connect to SQL Server Man
If you don't have permissions to change your default DB you could manually select a different DB at the top of your queries...
USE [SomeOtherDb] SELECT 'I am now using a different DB'
Will work as long as you have permission to the other DB