To stop SQL Server
net stop mssqlserver
Note Stopping Microsoft® SQL Server™ using SQL Server Enterprise Manager or the net stop mssqlserver command causes SQL Server to perform a checkpoint in all databases and then a SHUTDOWN WITH NOWAIT to flush all committed data from data cache and stop the server immediately. Stopping SQL Server from the command prompt works only if you are using Windows NT.