I get it now.
If you were fired, laid off (and by the way fired and laid off mean the same thing - no work, no money) or quit today, you would obviously be entitled to your 401k consisting of your contributions, your earnings, and any vested contributions of your employer.
If the company contributed to a pension plan and you were eligible to collect monthly benefits upon your leaving the company it would depend on the terms and conditions of the pension plan itself as to whether you got any of that money if you were fired or quit.
If there is a pension plan, you should have a pension plan booklet that gives you those details.
Look for the definition of a "qualifying event."