How to remove Anim Blueprint, from the Mesh through the code

I have the mechanics of cutting off limbs, and I need the limb to take a T pose after cutting off, that is, I need to remove anim-blueprint from it.