Apollo 17, with Commander Gene Cernan and Harrison (Jack) Schmitt in the Lunar Module, having landed on the moon, Gene got out first and then Jack got out, making him the 12th and final man to set foot on the moon. So, Jack Schmitt is often credited with being the “last man to walk on the moon”.
However, when they boarded the LM for the last time, Jack boarded first, then Gene boarded, making him the last man to leave a footprint on the moon and for that reason, Gene always argued, with good nature, that he was the last man to walk on the moon, and he is often credited with being “the last man on the moon”. It’s all about semantics I reckon.
This is unrelated. I remember Gene on a talk show years ago telling a story about a cocktail party he had attended some years prior. As often happens at such events, cliques form, primarily separated by gender and most of the men were standing around in a circle with drinks in hand and they eventually started telling stories. As time passed and the story telling baton passed from one fella to another, the stories got taller and taller as they tend to do. Gene had realized early in the evening that most of these folks didn’t know who he was and that was fine with him and he had been enjoying the anonymity.
As each guy tried to top the last story, they eventually went beyond the believable and some of the guys started calling them out. Gene remained quiet during all this, but eventually, all eyes came to him. It was his turn. He didn’t want to do it, but he just couldn’t resist he said. Out of his mouth came “well, one day when I was walking on the moon…”. They all went silent, as one by one they started to realize who he was. They laughed, some awkwardly, and realized they’d all been topped and rendered appropriate props.