Deactivating the plugin removes the chat from your site and stops background tasks; nothing is deleted. Deleting the plugin from Plugins removes the tables, settings, files shared in chats, the Chat agent role and its permissions only if Settings → Privacy → Delete all chat data when the plugin is deleted is on.
