You can use Cloud Manager to remove a shard from a MongoDB sharded cluster.
1
In MongoDB Cloud Manager, go to the Processes page for your project.
If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
If it's not already displayed, select your desired project from the Projects menu in the navigation bar.
In the sidebar, click Processes under the Database heading.
The Processes page displays.