The opposite of attaching actor to component

Yep. You will probably need to save a “Weapon” variable.