Since it seems there is no certain ways to uninstall an amp module from alfresco, I tried with the following and its working fine. Though there is an uninstall command with alfresco-mmt.jar (as mentioned in alfresco wiki) but currently it is not supported.
1. Remove the current alfresco.war and share.war as required from your directory.
2. Rename your old .bak files to alfresco.war or share.war
3. Clean your temp/* and work/* files in case of tomcat
4. Restart the tomcat and see the changes.
There is another way to do this but it is very risk as it is recommended that "Don't touch the alfresco database".
https://forums.alfresco.com/en/viewtopic.php?t=11589
1. Remove the current alfresco.war and share.war as required from your directory.
2. Rename your old .bak files to alfresco.war or share.war
3. Clean your temp/* and work/* files in case of tomcat
4. Restart the tomcat and see the changes.
There is another way to do this but it is very risk as it is recommended that "Don't touch the alfresco database".
https://forums.alfresco.com/en/viewtopic.php?t=11589