mongoDB won't stop with shutdown or kill
Try the below commands:

kill &lt;process id&gt; 
kill -2 &lt;process id&gt; 
kill -SIGHUP &lt;process id&gt;
kill -SIGQUIT &lt;process id&gt; 
kill -SIGTERM &lt;process id&gt; 
kill -SIGKILL &lt;process id&gt;


or


Log on to your database
Switch to admin database
Execute the command db.shutdownServer() to gracefully shutdown mongodb which is the safest way to shut down the DB


Thank you!

-Anban