Alt+G in Dopesheet

I found this thing I am bit curious about because I haven’t been able to find any documentation about it so far. When using Alt+G in dope sheet on a bone it will “destroy” the bone group and show separate channels only. I see it can be useful sometimes but is there a way how to revert it back into the original state? Thank you

I think you can select them and use Ctrl+G to regroup (alt+g is ungroup) then rename the group by double clicking it in the dope sheet