OK so you don’t want to yank the power on your Raspberry Pi to reset it. Here is a nice write-up on how to add a button to the RPi and a script so it will shutdown upon the switch being pressed.
http://www.linuxuser.co.uk/tutorials/raspberry-pi-reset-switch-tutorial