With all three spiritual stones in hand Link heads back to meet Princess
Zelda. However he is stopped outside the castle by a fleeing Zelda and Ganondorf on his black horse. Ganondorf attacks Link and rides after Zelda. While fleeing, she threw the Ocarina of Time in the moat for Link. After picking it up and learning the Song of Time Link heads to the Temple of Time to get the Master Sword. Pulling the storm from the pedastal leaves Link trapped in the Sacred Realm for seven years and grants Ganondorf access to the Triforce.