How can I remove Mail-in-a-Box ?
Today I installed Mail-in-a-Box in digital ocean but there I had 10 sites and I cannot connect to my site anymore ?
Or change .htaccess to /srv/users/serverpilot/apps with server pilot I have a lot of website in there and i don’t have access any more
Unfortunately there is no uninstall. As the instructions say in several places it is meant to be installed on a fresh system dedicated to Mail in a Box.
You could step through the source code on github to see how it has reconfigured your system.