how to shutdown mongod on command line code example Example: exit mongodb // In db shell use adim db.shutdownServer()