In 1961, John F. Kennedy told Congress: “I believe that this nation should commit itself to achieving the goal, before this decade is out, of landing a man on the moon and returning him safely to the earth.”
The Moon landing on 20 July 1969 achieved the first part of that goal. The second part was yet to come (in 1970, that would prove to be the hard part).
But on 21 July 1969, at 17:54 UTC, the spacecraft Eagle lifted its metaphorical wings and took off from the Moon (well, the upper ascent stage took off, as shown in the photograph below). There followed a rendezvous with Columbia, a flight back to Earth, and an eventual splashdown on 24 July. Mission accomplished.