If you installed the Machine Agent as a service, delete the service using the commands described on this page. For Windows and Mac OS X, the commands to remove the service also stop the service cleanly.
Delete the <machine-agent-install> installation directory.
If you delete a Machine Agent from the Controller UI (as described in Manage Machine Agents), but do not shut down the JVM that the Machine Agent runs on, the Machine Agent reappears in the UI the next time it connects to the Controller. To prevent a Machine Agent from connecting to the Controller, you must remove the Machine Agent settings from the JVM configuration. This frees the license associated with the Agent in the Controller and makes it available for use by another Machine Agent.