If you are in a nested group, only the nested group is closed.
To access this command...
Choose Layout - Group - Exit Group
Open context menu - choose Group - Exit Group
On toolbar, click