Safely Unassigning an overlapping group assigned to Application Monitoring template

I have a SAM application template assigned to two large groups.

The groups overlap - most of the nodes in group A are in group B.

Safety first question - If I use the "Unassign from Group" for group A from the Application Monitoring Template tool - will that still keep the Template assigned to the members group B?

Why am I doing this?

group A is assigned to other Templates also - and I do not want to remove or change group A, so I added a new group (group B) that contains nodes I want.