There are situations when you don't want to longer use Magento 2 module due to its issues, lack of functionality or any other reason and want to remove it. In this case, you can easily uninstall Magento 2 extension (remove Magento 2 extension) using the following steps:

1. Define where extension files are located.

There are 2 places where you can find extension files:

a) app/code/VendorName/ModuleName
b) vendor/vendor-name/module-name

2. Remove extension files.

a) If extension files located in app/code/VendorName/ModuleName just remove this folder
b) If extension files located in vendor/vendor-name/module-name run CLI command:

composer remove vendor-name/module-name

3. Run setup CLI commands:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

4. That's it :-). Magento 2 module has been removed.