# exit - Terminate Agent Instruct the agent to exit and terminate. ## Description The `exit` command instructs the agent to exit and terminate. The agent will perform cleanup operations and then terminate its process. This command is permanent - the agent will stop running and will not check in again. ## Syntax ``` exit ``` ## Examples ``` exit ``` ## Features - The agent will perform cleanup operations and then terminate its process - This command is permanent - the agent will stop running and will not check in again - Use this command when you want to remove the agent from the target system or when operational requirements dictate agent termination - Compatible with Mythic's callback table exit functionality ## Output ``` [exit] Terminating agent... [exit] Agent exited ``` --- **Command Category:** Control **Requires Admin:** No