MongoDB – Uninstall:

Stop the MongoDB server

Remove packages installed

Check the status MongoDB server

Remove Database and log Directories