A 13-year-old boy in the US state of Alabama regained consciousness just after his parents signed the paperwork to donate his organs.
Trenton McKinley suffered severe brain trauma when he fell from a car trailer which flipped over and hit his head.
Doctors told his parents he would not recover and that his organs were a match for five children who needed transplants.
A day before his life support was to end, Trenton showed signs of awareness.
The teenager suffered seven skull fractures in the accident in Mobile, Alabama, in March.
According to his mother, Jennifer Reindl, Trenton has since undergone several craniotomy surgeries, suffering kidney failure and cardiac arrest.
At one point, Ms Reindl said, Trenton died on the table for 15 minutes, after which doctors told her he would "never be normal again".
Ms Reindl told CBS News that she agreed to sign the organ donation papers when she learned her son's organs could save five other children.
"We said yes, that also ensured that they would continue to keep Trenton alive to clean his organs for the donation," Ms Reindl said, recalling how her son regained consciousness in March.
"The next day he was scheduled to have his final brain wave test to call his time of death, but his vitals spiked so they cancelled the test."
Trenton is now going through a slow recovery process.
"I hit the concrete, and the trailer landed on top of my head. After that, I don't remember anything," he said.
He still has nerve pain and seizures, and will need surgery to reconnect half of his skull.
He has been walking and talking, even reading and doing maths, Ms Reindl said, calling it "a miracle".
Trenton himself told WALA he thought he was in heaven while he was unconscious.
"I was in an open field walking straight," the 13-year-old said.
"There's no other explanation but God."