Always try not to pull out any funds from your 401(k) to avoid losing any of it. But sometimes we donot have a choice. In that case, research and talk to your fund representative to figure out the best way to withdraw or rollover.
Consider the pros and cons of holding on to your existing 401(k) plans, waiting for the opportunity to roll the assets into a new employer's plan or launching a self-directed IRA using the assets to have greater control of your investments. An IRA, however, may not be ideal if your old plan held company stock due to the favorable tax treatment it gets in a 401(k).