how to kill running mongo db server in windows code example Example: exit mongodb // In db shell use adim db.shutdownServer()