Is it possible to end a program forcefully?

If you put all your code in setup() and have an empty loop() it will do pretty much what you want.

-br