In this pinned post, we have recommended to first shutdown the node before removing it from the replica set.
You can do it either ways :
Connect to the node which you want to remove from your replica set and run this command.
And then finally authenticate yourself against the admin db if you have not done it already and then run the
It’s mentioned here.
The answer is no. rs.remove() removes a node from the replica set and the other two commands just shut down the mongod instances.
Hope it helps!
If you have any other query then please feel free to get back to us.
Curriculum Support Engineer