Hi,
you should take your backup withour removing a database from your aoag.
Take a look at your configuration, maybe it is possible to take the backup from the secondary node.
Kind regards,
Andreas
PS: if you try to restore a database on an always on availibility group, than you have to remove the database from the aoag.