Before uninstalling the application server, stop both the node agent and application server.
In Installation Manager, select Uninstall.
Checkmark the application server and select Next.
When the uninstall has completed, select Finish.
After the application server has been uninstalled, there will still be some files and directories left over. If you are absolutely certain that you will have no need for the left over files and directories, removed the left over files and directories.
~]# rm -rf /opt/IBM/WebSphere/AppServer