When you contribute to a 401(k), IRA, or similar retirement accounts, you're making a deal with the tax authorities. In exchange for significant tax advantages today, you agree to keep your money locked away until age 59½. But what happens when a genuine financial emergency strikes before then?