Your infrastructure monitoring agent will remain if you uninstall or disable any kind of integration. To completely uninstall the agent follow the steps provided in the guide.
Uninstall the agent
To uninstall the infra agent, execute the following command.