I think retirement is a plan yes - whether or not it is the only plan is another thing. Sometimes it can just be a change in occupation.
Some of my teachers were old already when I got to high school. Some were still there years later. I guess it is a personal choice or sometimes it can be down to needing to work to pay the bills or out of boredom, or wanting to contribute further. Sometimes teachers become photographers (or vice versa)