How I would do it:
Go to the "Verb" on the player object, click "Add" and type in "kill". Select "Run a script" at the bottom, then click the Code View icon below that. Paste this in:
mag("Done. You are now dead.")
finish
You cannot give the option to begin again or go back to the beginning because of the way the web site operates; it is kind of built into it.