how to close mongo db on vs code code example Example: how to stop mongodb in vscode use admin db.shutdownServer()