remove any secondary databases from the availability group by;
You may then either bring the secondarys online or just delete them with
drop database [yourdb]
ALTER AVAILABILITY GROUP yourAGgroup REMOVE DATABASE yourhadb
Again bring them online or just delete them using drop database
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉