How do I stop an Arduino sketch?

This is why I don't want it to continually move.

Good idea.

Could you direct me to a sketch that doesn't use a loop but rather moved the servo to a specified degree? I am unable to find any such code.

This implies that you haven't bothered to try to understand the sketch that you have. If you don't want something to happen in a loop, don't put the action inside a loop. I'm pretty sure that with a little study (and I do mean a little) you'll be able to distinguish the loop part and the action part. Then, remove the one you don't want.