I use a batch file to shutdown the database. It shuts it down in normal mode (Shutdown normal