how are you shutting down the servers?
shutting down mongod instances is done with a database command run on admin database with admin rights.
check this link: shutdown — MongoDB Manual
you can also issue a database command from the terminal with mongo shell. here is an example:
mongo --eval "db.getSiblingDB('admin').shutdownServer()"