Charlie Gard's parents have withdrawn their application to take their terminally ill son to the US for treatment.
At the High Court, a lawyer representing Chris Gard and Connie Yates told Mr Justice Francis that "time had run out" for the 11-month-old.
Barrister Grant Armstrong said the experimental treatment the family had been pursuing cannot now offer any chance of improving Charlie's condition.
He explained that Charlie's parents had made the decision to withdraw their application after reviewing the latest medical reports and scans from Great Ormond Street Hospital.
Charlie suffers from a rare genetic condition which causes progressive muscle weakness. He also has brain damage.
Mr Armstrong told the court that the damage to Charlie's muscle and tissue was now irreversible, adding: "The parents' worst fears have been confirmed. It is now too late to treat Charlie."