To uninstall the Agent locally, go to the installation directory, then run the following command as a root user:
./uninstall.sh