how to uninstall snap applications code example
Example 1: remove snap package
sudo snap remove <package name>
Example 2: snapd remove command
sudo snap remove <package>
sudo snap remove <package name>
sudo snap remove <package>