- Reference >
- mongo Shell Methods >
- Database Methods >
- db.shutdownServer()
db.shutdownServer()¶
- db.shutdownServer()¶
Shuts down the current mongod or mongos process cleanly and safely.
This operation fails when the current database is not the admin database.
This command provides a wrapper around the shutdown.
Thank you for your feedback!
We're sorry! You can Report a Problem to help us improve this page.