Her getting hit by the car was a random event so not all days she died from being hit , whats implied in the end of it is that she wakes up in her room because of a different previous day being chosen so she panics , and she learns that yuuka is fine since this wasnt one of the days she died...