This error occurs when the primary database fails to stop properly. This could be because the database is not responsive, or it might have timed out waiting for the database to finish stopping.
If this occurs during a failover, the failover operation attempts to continue to promote a new primary database.
If the issue persists, you may need to manually repair or recreate the database.