 The Doctor saves her pattern to the core.River wakes up in the Earth simulation and is greeted by Charlotte and River's team members who had fallen victim to the Vashta Nerada.Charlotte assures her that the simulation is now a "good place" where she will be safe as the Doctor fixed the data core.