Update: After boarding Air Force One Tuesday morning to head to Brussels for the 2018 NATO Summit, President Trump took a few moments off from preparing for his latest showdown with America's military allies to tweet a quick congratulations to the Thai Navy SEALs who successfully rescued all 12 Thai boys and their soccer coach.

On behalf of the United States, congratulations to the Thai Navy SEALs and all on the successful rescue of the 12 boys and their coach from the treacherous cave in Thailand. Such a beautiful moment - all freed, great job! — Donald J. Trump (@realDonaldTrump) July 10, 2018

Musk also offered his congratulations.

Great news that they made it out safely. Congratulations to an outstanding rescue team! — Elon Musk (@elonmusk) July 10, 2018

* * *

The elaborate rescue dubbed "Mission Impossible" is finally over.

After they were stranded inside the cave for more than two weeks, rescuers have finally freed all 12 members of the Wild Boars soccer team and their coach from the Tham Luang cave complex in northern Thailand, CNN reported Tuesday. The boys, who range in age from 11 to 16, and their coach are all being treated at a nearby hospital.

Rain overnight had raised fears of delays, but the mission was completed more quickly than organizers anticipated. Former Chiang Rai Governor Narongsak Osatanakorn, who was charged with supervising the rescue, said that the 19 divers working on the rescue team went back into the cave Tuesday morning to retrieve the remaining boys and their coach. The diving team is being led by a group of Thai Navy SEALs.

A doctor and three Thai Navy SEALs who had been examining members of the team inside the cave are also coming out, according to Buzzfeed.

"All eight rescued boys today are in good health, none have a fever," Jesada Chokedamrongsuk, permanent secretary of Thailand's ministry of public health, told reporters Tuesday. "Everyone is in high spirits and are happy to get out."

The first four boys who were rescued on Sunday are now able to eat solid food, doctors said. And they have been able to see their family members through a transparent barrier. At least one of the boys appeared to have a lung infection and another was admitted with a slowed heart rate, he said, but both have improved. While the eight boys who have been thoroughly examined by doctors already are said to be "in good health", they have all exhibited signs of infection, which means they'll likely remain hospitalized for at least a week.

The boys went missing on June 23, and have spent two weeks deep underground in a cramped dark cave with limited oxygen.

Meanwhile, after tweeting video of his kid-sized "mini-sub" yesterday, Tesla CEO Elon Musk traveled to the rescue site to offer help in person, supposedly on his way to China where he hopes to procure either more funds or get permission to build a Tesla factory. The rescue team had everything under control and politely declined his help, but he left them the sub...

Just returned from Cave 3. Mini-sub is ready if needed. It is made of rocket parts & named Wild Boar after kids’ soccer team. Leaving here in case it may be useful in the future. Thailand is so beautiful. pic.twitter.com/EHNh8ydaTT — Elon Musk (@elonmusk) July 9, 2018

...Which elicited some amused responses on Twitter.