Exiting via a FinalState or by a group Transition has the same meaning as for ordinary composite States. Source Unified Modeling Language 2.5.1
a submachine Statemachine can be exited as a result of: reaching its FinalState; triggering of a group Transition originating from a submachine State, or; via any of its exit points. Source Unified Modeling Language 2.5.1