You probably have some logic set to play animation while 'key is down' instead of on key press.
Because of the logic in 1, it's going to keep playing the animation while the key is down.
Add a condition in for your other movement actions : when not punching