A 15-year-old girl has been found alive in her coffin eight hours after being considered dead.