Before you uninstall ArcGIS Web Adaptor, you must first unregister the Web Adaptor with your server. Once completed, client applications will no longer be able to communicate with your server. To reestablish this communication in the future, reinstall ArcGIS Web Adaptor and use the configuration page to reconfigure the Web Adaptor with your server site or portal.
Uninstall the Web Adaptor
You'll use your operating system's tools to uninstall the Web Adaptor. To do so, complete the following steps:
Uninstall the Web Adaptor silently
Performing a silent uninstallation of the Web Adaptor on Linux doesn't require an X display or user interaction during the uninstallation process. By design, the installation mode in which you are running the setup is what will be set as the default for the uninstallation mode.
To silently uninstall the Web Adaptor on Linux, launch the uninstallation script silently (based on the default installation location):
${HOME}/arcgis/webadaptor11.0/java/uninstall_WebAdaptor -s