How to transition out of moving animations smoothly

How would I achieve something like this?

basically I have an animation with diverse torso keyframes that move around and at the end I smooth make the root part go to the torso or some other solution. If you know please tell me!
( MAINLY THE BAR GRAB AND MANTLE I’M INTRESTED IN)