--- layout: "docs" page_title: "Commands: agent-force-leave" sidebar_current: "docs-commands-agent-force-leave" description: > Force a node into the "left" state. --- # Command: agent-force-leave The `agent-force-leave` command forces a server to enter the "left" state. This can be used to eject server nodes which have failed and will not rejoin the cluster. Note that if the server is actually still alive, it will eventually rejoin the cluster again. ## Usage ``` nomad agent-force-leave [options] ``` This command expects only one argument - the node which should be forced to enter the "left" state. ## General Options <%= general_options_usage %> ## Examples Force-leave the node "node1": ``` $ nomad agent-force-leave node1 ```