Answer
Alan Shepard superseded Gordon Cooper after he served as backup commander of Apollo 10. This was because Shepard had more experience in space flight and was considered to be a better astronaut. Cooper was disappointed by this decision, but he understood that Shepard was the better choice for the mission.