They got into the eleventh Doctor's Tardis (not yet the Tomb) and got on with things, now that all the splinters of Clara had saved the Doctor's timeline.
Though I agree it's not obvious going by the way the episode was edited.
John Hurt is apparently the Doctor's name too???