Ending animations after changing PlayerController

I’m trying to create a system in which a player can walk up to another character, press a button, and control that character instead of the one that they are currently controlling. I’m using the 3rd Person Example for the mesh/animations.

The problem is when I switch characters, the character who was originally being controlled continues its animation - so if it was running when the player switched, the running animation would continue indefinitely. Same with walking, or if the player jumps when switching, the original character mesh hangs in the air. Ideally, the character who is no longer being controlled by the player would settle back into an idling animation.

Here is the blueprint I have that switches between characters: