Hi@akhtar,
To remove a worker node from the Docker swarm, run the following command from the worker node itself.
$ docker swarm leave
Node left the default swarm.
The node will still appear in the node list and marked as down. It no longer affects swarm operation, but a long list of down nodes can clutter the node list.