Using the Mule web console
- In the Mule web console, select the Deployments tab.
- Check the application that needs to be undeployed, and select Undeploy.
Using the command line
A mule app can be undeployed on the command line by removing the app's anchor.txt file. The app's anchor.txt file should be located in the mule_home/apps/ directory. Once the anchor.txt file is removed, the directory and subdirectories that make up the app will also be removed.
After the application is undeployed, the icon to the left of the application should turn yellow.
You can also check the mule_ee.log for confirmation that the application was undeployed.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Undeployed artifact 'appname-<version>-SNAPSHOT-<int>' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO yyyy-mm-dd hh:mm:ss,sss  com.mulesoft.mmc.agent.service.impl.ApplicationServiceImpl: Successfully undeployed [appname-<version>-SNAPSHOT-<int>]