The main thing that NASA abandoned was the Saturn V. In order to get to the Moon or anywhere outside of LEO you have to have a reasonable lift capacity to launch beyond Earth's Orbit. After the Saturn V production line was shutdown their was literally no replacement that could lift enough to either TLI or Escape Velocity. The Saturn V could place over 100,000 lbs into TLI. The shuttle could life around 50,000lbs into LEO. If you look at overall launch capacity after the Saturn V was retired there was no other launcher out there that could put a reasonable payload into space that would allow humans to go beyond LEO. Think about after the Saturn V the next most powerful launcher that really achieved operational status was Delta IV-H with 22,950KG into LEO, Saturn V 118,000KG into LEO. The Soviet Energia system flew twice and could put 100,000kg into LEO but last flew in the 1980's and was retired after only two launches. Allowing humans to go back to the Moon or beyond has always been about having a big enough launcher and after the Saturn V this hasn't existed. The US government being the US government essentially threw away all the sunk development costs that had already been spent when the Saturn V production line was shutdown permanently. Very stupid decision.
The next powerful launcher is the Falcon Heavy if it actually gets off the ground and could do 53,000kg into LEO. However this is the only thing close to flying that would achieve this. This in theory could put around 17,000kg into TLI which would probably allow the rocket to launch the Dragon capsule to the moon on a free return trajectory. However I don't think it would allow enough Mass to allow a the capsule to slow down into the Moon's orbit and then do a TEI burn to come back.