PersonMyth
Amaterasu
Sun goddess (myth) · State of Japan

In the Kojiki and the Nihon Shoki, Amaterasu is the sun goddess and ancestor of the imperial family. In the myth, she hid in a rock cave because her brother Susanoo was violent and darkened the world, came out when the gods danced and laughed, and later sent her grandson Ninigi down to earth, giving him a mirror.
What would you do if the world suddenly went dark? In Japanese myth, the sun goddess Amaterasu hid in a cave when her brother behaved violently, and the world became dark. The gods danced and laughed to call her out, and she came out. Later she gave a mirror to her grandson and sent him down to earth. The story says that the mirror is still kept at Ise Grand Shrine today. The story carries the hope that morning always comes after the dark.
This comes from a myth. The story has been passed down from long ago, so we cannot know whether it really happened.
More detail
Two sources checked
What should you do when the world suddenly goes dark? Japanese myth tells the story of the sun goddess Amaterasu hiding in a cave as follows. Amaterasu is not a real person in history but a being in myth who appears in the Kojiki and the Nihon Shoki.
The story begins with Izanagi, the father of the gods, washing his body, and Amaterasu being born from his left eye. Her younger brother Susanoo had a rough temper and wrecked his sister's weaving room, and Amaterasu, hurt, went into the "Heavenly Rock Cave" and shut the door. Then heaven and earth both are said to have gone dark.
The gods put their heads together. They made a mirror and jewels, and when Ame-no-Uzume danced as if possessed by a god, the eight million gods laughed all at once. At the moment Amaterasu, curious, peeked out through the crack in the door, the gods held out the mirror, and a strong god is said to have taken her hand and pulled her out. In today's terms, it is as if instead of forcing a friend shut up in a room to come out, you throw a lively party outside and make them come out on their own (this is an analogy).
At the end of the story Amaterasu orders her grandson Ninigi to rule the land and sends down a mirror, saying, "Honor it as you would my own spirit." This mirror is said to be enshrined today at the Ise Grand Shrine as one of the Three Sacred Treasures. In this way the myth provided the grounds for the imperial house being descendants of the sun goddess.
Scholars think that behind Amaterasu lay a shrine maiden who served the sun, or sun worship on the Ise coast. The simple belief that morning always comes after the darkness passes grew into a country's greatest story, so this myth still offers people comfort.