For all selected components, bake the current animation down to the skeleton and remove the rig component.
Script Command:
import rigging.usertools; rigging.usertools.helix_rigger.HelixRigger().bake_and_remove_component(None, True)