The Retrieval of the Ocarina of Time is an event taking place at the start of Majora's Mask. It is, given the conditions under which it occurs, the only moment in the entire game (and one of the few in the franchise) where Link is unable to save his progress in the quest. The goal is to do so for the first time.
Arrival in Termina
When the Skull Kid follows Link in the Lost Woods and his two companion fairies (Tatl and Tael) leave him unconscious by scaring Epona and making him fall from her, he seizes the Ocarina of Time and starts playing it, while the fairies start arguing. When Link wakes up and tries to get his sacred instrument back, the Skull Kid instantly jumps towards Epona and flees far from the scene with her and the fairies. As Link chases them across the forest, he enters a cave and falls into a hole that transports him to Termina. The Skull Kid proceeds to transform him into a Deku Scrub (thus into Deku Link) and flees forward with Tael.
Tatl reluctantly agrees to guide Link towards the underground cavern and teaches him to use Deku Flowers to cross large chasms. Upon reaching the Portal of Clock Tower, he is greeted by the Happy Mask Salesman, who also was a victim of the Skull Kid (in his case losing the titular Majora's Mask). The Salesman tells Link that, if he manages to retrieve the Ocarina of Time, he will be able to return to his Hylian self; in exchange, Link must bring back Majora's Mask as well.
Search for the Instrument
When Link exits into South Clock Town, Tatl complains about the difficulty of the quest, and suggests that the young hero go to the local Great Fairy Fountain to receive help from the Great Fairy of Magic. Heading to North Clock Town, Link finds and enters the Fountain, only to find the Great Fairy shattered into many Stray Fairies, who beg him to find the one stray fairy that will complete the regeneration of the Fairy. The stray fairy is found in the Laundry Pool during the day, or in East Clock Town at night. After Link finds the Stray Fairy and brings it back to the Fountain, he returns the Great Fairy to her former state and is rewarded with Magic Power, making him able to shoot bubbles while in Deku form. Although the Fairy is unable to lift Link's curse, she tells him that the astronomer from the Astral Observatory might help him further.
The entrance to the path leading to the observatory is in East Clock Town, but its access is limited to the members of the Bombers Secret Society of Justice; in order to find out how to get the necessary code to enter, Link sees the leader (Jim) back in North Clock Town, and explodes his balloon with a bubble to hook his attention. Jim proposes the young hero a challenge: If he manages to find the five main members of the group in a Hide and Seek minigame that takes place in most of the city, he will learn the code to enter their hideout (which leads to the observatory), but he needs to complete the task before the current day ends. Upon exploring the town, he is able to find and catch each of the members. Although he is told to not be able to be a member of the Society, due to an incident they had with the Skull Kid when he was one of them, he still learns the code. With it, he gets access to the aforementioned hideout.
Link explores the hideout without too much difficulty and, after beating a few obstacles, he reaches to the observatory and talks to Professor Shikashi, who invites him to see through the telescope. As the young hero does so, he witnesses the Skull Kid at the top of Clock Tower, and watches a mineral falling from the sky. He exits the observatory from the back door and gets the item. Back in South Clock Town, he finds a Deku Scrub who returns to his Deku Flower (fearing that someone might invade it). By trading the Moon's Tear, Link manages to purchase the Town Title Deed, which makes him proprietor of the Deku Flower. This allows him to fly towards the entrance to the Clock Tower and take a Piece of Heart.
However, the entrance will only open at midnight on the eve of the Carnival of Time (Final Day). In the key moment, Link and Tatl reach to the top of the tower and confront the Skull Kid, who holds the Ocarina in his left hand. After forcing the moon to descend faster towards the land, the Skull Kid is attacked by one of Link's bubbles and accidentally drops the Ocarina. When the young hero finally retrieves the sacred instrument, he remembers the moment when Princess Zelda gave it to him and played the Song of Time, then told him that this song would aid him in a case of emergency. Indeed, Link plays the melody (but with his Ocarina being turned into the Deku Pipes due to his current form) and manages to travel through time, back to the First Day.
With the Ocarina of Time back in his hands, Link learns the Song of Healing from the Happy Mask Salesman, and with the power of said song he returns to his Hylian form. The salesman, however, express concern in regards of Majora's Mask, as Link was unable to get it back, but the young hero accepts to find a way to do so.
The aforementioned events, when replicated by Link's Hylian form, grant the availability of several sidequests, including:
- Gaining the Bombers' Notebook after the Hide and Seek minigame (and, therefore, the membership in the Society).
- Gaining the Great Fairy's Mask after helping the Great Fairy to recover her true form.
- Initiating the Trading Quest with the Town Title Deed and, by extension, the possibility of purchasing a Heart Piece from the Deku Scrub in a secret spot in Termina Field.
- The impermanent flow of time in the three-day cycle of this event is 1.66 times faster than normal. The reason for this is because each hour in the day only lasts 27 real life seconds, and thus the entire cycle only lasts 32 minutes with 24 seconds. In contrast, a normal cycle lasts 54 minutes because each hour lasts 45 seconds. For this reason, when the time is altered to be at this rate during the first cycle, no enemies or characters will appear in Termina Field, nor will the Deku Flower that is normally outside the Astral Observatory.
- During this cycle, the only ways to move forward in time is to either listen to a story from Anju's Grandmother in the Stock Pot Inn, or to dance with Pierre in the Astral Observatory or the Trading Post.
- "I can tell you're not very used to your Deku Scrub body yet!" — Tatl (Majora's Mask)
- "He gives me the creeps! That mask salesman was the... Sorry... just thinking aloud... But three days?! Even if we never sleep, that leaves us with a measly 72 hours! Talk about demanding!" — Tatl (Majora's Mask)
- "Well, don't just stand there! We're going to see the Great Fairy!" — Tatl (Majora's Mask)
- "Oh no! The Great Fairy!" — Tatl (Majora's Mask)
- "That Skull Kid has gone too far! We can't just let this happen!" — Tatl (Majora's Mask)
- "I am the Great Fairy of Magic. I though that Skull Kid was helping me, and I grow careless. All I can offer to you is this: I shall grant you Magic Power as a sign of my gratitude. Please accept it!" — Great Fairy of Magic (Majora's Mask)
- "The man who lives in the observatory out of town may know of the Skull Kid's whereabouts" — Great Fairy of Magic (Majora's Mask)
- "We Bombers have a hideout that leads to the observatory outside town. You need a code to get it. Maybe I'll tell you what it is!" — Jim (Majora's Mask)
- "Are you the one who just popped that up there? Not bad for a Deku Scrub!" — Jim (Majora's Mask)
- "If you can find all five of us by tomorrow's morning, I'll teach you the code!" — Jim (Majora's Mask)
- "If only you were human... Then I could give you an original Bombers' Notebook and make you a member" — Jim (Majora's Mask)
- "I guess not. Once, we let some kid who wasn't human join our gang, and, boy, did we ever regret it! Sorry!" — Jim (Majora's Mask)
- "But I'll teach you the code, just as I promised" — Jim (Majora's Mask)
- "Well, well,... a strange-looking child has joined me today... Are you a new friend of the Bombers gang?" — Professor Shikashi (Majora's Mask)
- "Well, did you find that troublemaker? And that loud noise... What was that? Perhaps another Moon's Tear has fallen nearby... Go through that door and take a look outside" — Professor Shikashi (Majora's Mask)
- "This is my private property. Don't try using it when I'm not around!" — Deku Scrub (Majora's Mask)
- "Ah! That stone! You must hand it over to me! In exchange, I'll give you here... Deku Flower included! Yes?" — Deku Scrub (Majora's Mask)
- "The door to the Clock Tower opens only once a year - at midnight on the eve of the carnival" — Tatl (Majora's Mask)
- "...Suddenly, memories of Princess Zelda come rushing back to you..." — N/A (Majora's Mask)
- "The Goddess of Time is protecting you. If you play the Song of Time, she will aid you..." — Princess Zelda (Majora's Mask)
- "W-what just happened?! Everything has... started over... Wha-What are you, anyway? The song you played... That instrument..." — Tatl (Majora's Mask)