https://www.mongodb.com/docs/v5.0/reference/command/removeshard/
removeShard - MongoDB Manual v5.0 - MongoDB Docs
mongodb manualremoveshardv50docs
https://www.mongodb.com/es/docs/upcoming/reference/command/removeshard/
removeShard (database command) - Database Manual - MongoDB Docs
Remove a shard from a sharded cluster by draining its chunks to other shards using the balancer, ensuring no backups during the process.
command manualremovesharddatabasemongodbdocs