If you delete an app agent from the Controller UI, as described in Manage App Agents, but do not shut down the JVM that the Java Agent runs on, the will reappear in the UI the next time it connects to the Controller.
To prevent a from connecting to the Controller, you need to remove the settings from the JVM configuration. This frees the license associated with the agent in the Controller and makes it available for use by another app agent. This topic describes how to uninstall a from the JVM configuration.
-javaagentargument in the startup script of the JVM.