When you removed the drive, you forcefully disconnected the database from SQL Server. SQL Server doesn't like this.
SQL Server is configured by default so that any created database is automatically saved until the computer shuts down or the SQL Server service is stopped. Before deleting the disk, you must have the database "disconnected" or the SQL Server service stopped.
You can start the database by running the following command in the query window: RESTORE DATABASE [xxx] WITH RECOVERY;
You could, although I would usually not recommend this, modify the database to automatically close after there are no active connections.
To accomplish this, you must run the following query:
ALTER DATABASE [xxx] SET AUTO_CLOSE ON WITH NO_WAIT;
source share