US President Barack Obama laid a wreath at the Tomb of the Unknowns at Arlington National Cemetery in Washington as part of the country's Veterans Day commemorations.
Obama told those gathered: "We are hear today to pledge that we will never forget the profound sacrifices that are made in our name.
"Our message to all those who have ever worn the uniform of this nation is this: We will stand by your side."
More top news
The body of 25-year-old Akbar was found intact and full-clothed after searchers hunted down the python and sliced it open on Wednesday.
The ruling means Mr Trump cannot enforce his ban, which blocks new visas for people from six predominantly Muslim countries.
Thursday could be the warmest day of 2017 so far, with temperatures of 22C (72F) forecast, double the average for March.