You had the option to roll these funds over to another retirement account like an IRA to continue to defer this income. If you did not do so, the distribution is taxable and, if you are under age 59½ and you have no penalty exception that applies, to a 10% early-distribution penalty on the taxable amount. Being fired is not an exception to the early-distribution penalty.