Someone can help me with de use pawn control in the follow camera?

Well, i made a simple input for Run and walk. But, when my character is runing,i want the camera lost the use pawn control rotation, so that the camera shaking effect appears. The connection i made worked, but when the input "Release"is working, the camera juimps and changes the location i was looking.
Someone can tell me how i fixed that?