Removing Buttons works differently on Windows, macOS and Linux. On every platform, your configuration and database live apart from the application files, so removing Buttons doesn't delete them unless you do that yourself.
Uninstall Buttons from Add or remove programs. The uninstaller removes the application files, the shortcuts, and the firewall rules the installer added. It doesn't remove your configuration or database.
Warning
The Windows uninstaller stops Buttons by force-terminating it, not by asking it to shut down. Quit Buttons yourself before you run the uninstaller.
If some files are still in use, the uninstaller tells you a restart is needed to finish removing them. This is expected, not a failure.
Your database, configuration, modules and logs live in a separate location from the application files on every platform, which is why removing Buttons doesn't delete them. The exact location follows each operating system's conventions for application data. Look there, not in the folder Buttons is installed in, when you want to back up, inspect or delete it.