Cyberpanel no longer works after incorrect email configuration.

A few days ago I misconfigured the mail server, I made a mistake in deleting the subdomain email.dominio.it and the system crashed and I was no longer able to enter, or restart in any way. I contacted AWS support and they tell me that you must be the one to fix the problem. Cyberpanel is installed on Ubuntu 20 in an AWS lightsail instance, having said that from the analysis it appears that the server is ok and the problem is Cyberpanel. The last thing I tried was to reinstall Cyberpanel but in the end it tells me that it is already installed and still does not let me access the domain name.it:8090 as I had configured it from ipnumber: 8090.
Please help would be appreciated. I prefer to recover the installation. Thanks.