Incase if you change your company the 401K plans, it permits to change your fund to other company 401K account or retirement plans. If you transfer your 401K-plan money into another company's 401K plans, you must have to manage the tax-deferred status of your 401K plans. You do not have to pay any tax on your 401K plan and able to withdraw money if needed.
If your company does not transfer your amount you need to have another options. The withdrawal of the money is depends on the vested amount in your account. If you are below 60 and your vested amount is only $5000 than you must have to keep your amount in your 401K accounts only because any withdrawal will be taxed and penalty. You can also transfer amount into IRA account or other scheme. In case of financial problem some 401K plans permit us to get the money to get the financial help. You must have to select the plans so that you can get the benefits. If you select the distribution option before 60 years of age than you need to pay 10 percent of penalties.
Finally, you can get withdrawal incase of termination of plans, employments, disability or incase of death. The 401K plans have a provision to give benefits to the beneficiaries.