If that does not correct it, then please go to /var/cpanel/databases location and run this command to check for the database still existing:
cd /var/cpanel/databases cat username.yaml
Here username is the cPanel username for the account.
Next, in that same /var/cpanel/databases location, check for any existence of the database:
grep "databasename" /var/cpanel/databases/*