Depends on the specifics of the plan. Are you talking about a pension plan, a 401(k) or what?
The money YOU put into the YMCA retirement accounts will be made available to you to roll over to another retirement account–but only if you LEAVE your job. This can be an IRA and yes, if you are foolish enough to wipe out your retirement savings, you can dip into it.
The money the Y put into the account is intended for retirement. Thus if it’s over $25,000, it’s either staying with them or it’s going to purchase an annuity. Either way, you will get it at retirement (age 55 at the earliest). This was the Y’s money, they get to make the rules (many retirement plans work this way).