On this page
Removed in MongoDB 5.0.
unsetShardingis an internal command that supports sharding functionality.
This command is available in deployments hosted in the following environments:
MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud
This command is supported in all MongoDB Atlas clusters. For information on all commands, see Unsupported Commands.