How to fix Capsule rotation after wall climb?

Hello,

I’ve implemented a wall climbing feature in a 3D side scroller template and everything works as intended except for after the climbing animation has completed the capsule component is rotated sideways causing all kinds of errors with movement after the climb. I have tried a few attempts at fixing it but to no avail. Anyone have any idea how this can be corrected?

Capsule-rotated is what the character looks like after climb.

wall-climb-bp is the BP in sidescroller character event graph.

wall-climb-anim is the BP in animation event graph for the climb.

Thanks!