Impa (by Zelda's order) was there to bring them back, and at the end of a linked game we see zelda and co. back in hyrule and nayru in an unfamiliar village and din in an unfamilar forest, both of which I assume are in hyrule.
Their figurines state that they have come from holodrum and labyrnna.