Yes. You are entitled to close out your 401K when you are no longer employed with that company. If you do in fact close the account, you are liable to pay the required penalty in taxes which is typically about 20% for Fed and depending on State 10%.