How to quit iphone apps
How to stop an application running on iPhone:
To force quit frozen (or running) iPhone program, press and hold the Home button for at least six seconds, until the application you were using quits.
If you you can't stop running app, try to reset iPhone: http://www.ontola.com/iphone-reset