How to shutdown mongodb sharded cluster temporary
stop balancing - run sh.stopBalancer() from mongos
shutdown mongos services - run db.shutdownServer() from mongos
shutdown config mongod services - run db.shutdownServer() from config server mongod
shutdown shards mongod services - run db.shutdownServer() from replica set mongod