To summarize it:
If you want to cheat, you can use Mystcraft's /tpx command to escape.
In SP, you can also go into the "players" folder in the saves and delete [your_username].dat (or in MP, the server owner can do that for you). You will lose all your items, however.
In SP, if you have world...