When I tried to do it, I heard a warning about it by chance.
When uninstalling MariaDB, the license of Plesk expires, and my contract seems to need to purchase a new license. And I suppose it will be necessary to reinstall the OS itself. For example, it seems impossible to restore from backup...