You should never close the compass by just clicking on ‚X‘ button. From the application you should click on exit to close.
So for your error the process is running in background so goto task manager and kill the MongoDb GUI or MongoDB Cummunity GUI.
This issue has been fixed in the latest versions. Please install latest Stable version.