In order for you to disable CometChat follow below mentioned steps.
Login to CometChat admin panel
From Left Menu Click on "Settings->General"
Search for "Disable CometChat:"
Change setting as per your requirement.
click on "Clear Cache" from the left menu
Clear Browser Cache.