One Servo with Two Switches

I want it to stop when I release the button.