When agent is stopped without stopping the proxy it continues to be shown as active for the next 5 minutes. To avoid the application from reappearing in the controller, it is recommended that you wait for at least 5 minutes before deleting the application after the agent shut down.