Servo controlled by buttons question HELP

..what command would I use to stop the servo?

Just stop changing the values you write to the servo.