That seems like an easy case to test, provided you have some way to re-light the candle.
You need to make two assumptions for the analogy.
1) You can't re-light the candle.
2) If you do things exactly right, you'll get out with just before starving to death (or dying somehow) otherwise, you are dead.
This is our monthly thread for collecting these little gems and pearls of wisdom, rationality-related quotes you've seen recently, or had stored in your quotesfile for ages, and which might be handy to link to in one of our discussions.