--- title: "Uninstalling macOS Agent Software" slug: "uninstalling-macos-agent-software" updated: 2026-09-08T19:06:27Z published: 2026-09-08T19:06:27Z canonical: "docs.trellix.com/uninstalling-macos-agent-software" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Uninstalling macOS Agent Software To uninstall macOS agent software: 1. Launch the Terminal and enter the following command to run the uninstall script. `sudo /Library/FireEye/xagt/uninstall.tool` Enter the administrator password when prompted. 2. Enter the following command to verify that no xagt processes are running. `ps aux | grep xagt` ### Note If xagt processes are running on the endpoint, perform one of the following steps: - If all the agent artifacts still remain on the endpoint, run the uninstall script again. - If all the agent artifacts have been removed from the endpoint, manually terminate the xagt processes. To completely uninstall macOS agent software and system extensions: 1. Launch the Terminal and enter the following command to run the uninstall script. `sudo /Library/FireEye/xagt/uninstall.tool --remove-helper` Enter the administrator password when prompted. 2. Enter the following command to verify that no xagt processes are running. `ps aux | grep xagt` ### Note If xagt processes are running on the endpoint, perform one of the following steps: - If all the agent artifacts still remain on the endpoint, run the uninstall script again. - If all the agent artifacts have been removed from the endpoint, manually terminate the xagt processes. :