California law requires that regardless of the reason your employment ends, all accrued but unused vacation time must be paid at termination. Keep in mind that this does not necessarily mean all the time you would have accrued if you remained with the company till the end of the year. Whether this means the entire 50 hours or not will depend on the employer's accrual policy.