A non-immortal character can get out by repeatedly talking to the Warden until he relents an immortal is stuck in jail until the server resets.