Ok so I have found this article which helps with the accidental deleting of the group, but what about when a user may be accidentally removed from the group?
It is not possible to delete a group with an active license assigned. An administrator could delete a group not realizing that it will cause licenses to be removed from users - for this reason we require any licenses to be removed from the group first, before it can be deleted.
https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/licensing-group-advanced