In 1331, Go-Daigo plotted to seize power through force and overthrow the Kamakura Shogunate by encouraging his vassals and other anti-Hōjō samurai to rebel. However, Go-Daigo was betrayed when his trusted adviser Fujiwara Sadafusa alerted the shogunate, who dispatched troops to Kyoto to suppress the uprising. Go-Daigo fled Kyoto with the Sacred Treasures and sought refuge in Kasagi, a secluded monastery overlooking the Kizu River. Go-Daigo managed to escape Kasagi when it was attacked by Kamakura troops in the Siege of Kasagi, but was soon apprehended. Go-Daigo was subsequently exiled to the Oki Islands and the Kamakura then enthroned Emperor Kōgon, the first Emperor of the "Northern Court", setting the stage for the upcoming Nanboku-chō period. Go-Daigo's son Prince Morinaga continued to fight against the Kamakura, leading his father's supporters alongside Kusunoki Masashige.
Second uprising
In 1333, Go-Daigo escaped Oki two years after his exile with the help of Nawa Nagatoshi and his family, raising a new Imperial army at Funagami Mountain in Hōki Province, in the modern town of Kotoura, Tottori Prefecture. Meanwhile, Ashikaga Takauji, the chief general of the Hōjō, was dispatched west to fight against Go-Daigo's second uprising. However, for unknown reasons, Takauji defected to Go-Daigo's army shortly before reaching Kyoto, and began to fight against the Hōjō. The reason for Takauji's defection is unknown, but assumed to be because of his unofficial leadership of the Minamoto clan, the victors of the Genpei War and arch-rivals of the former Taira clan to which the Hōjō had belonged. Additionally, Takauji possibly hoped of being named Shōgun by Go-Daigo after his restoration to power. The Imperial army lifted the Siege of Chihaya and Imperial general Nitta Yoshisada won a string of victories in the Kōzuke–Musashi campaign in May, including the Siege of Chihaya, the Battle of Kotesashi, the Battle of Kumegawa, and the Battle of Bubaigawara. The Kamakura Shogunate was eventually defeated at the Siege of Kamakura in early July, when Imperial forces entered the destroyed city and the Hōjō committed suicide.
Aftermath
Go-Daigo triumphantly returned to Kyoto and claimed power as Emperor Kōgon in what came to be known as the Kenmu Restoration. Go-Daigo's rule would only last three years as his policiesdisillusioned his supporters, and most of the accomplishments of the Genkō War were gradually undone. Many samurai who had fought for Go-Daigo were dissatisfied with their rewards, and his pursuit of consolidating Imperial power led to their subsequent exclusion from political affairs, whereas they had held significant influence under the shogunate. Japanese commoners were similarly dissatisfied as Go-Daigo failed to address the issues they had petitioned for him to solve. In 1336, Ashikaga Takauji named himself the Shōgun and seized power from Emperor Go-Daigo, establishing the Ashikaga Shogunate based on the Kamakura system and marking the beginning the Nanboku-chō "Northern and Southern Courts" period. The Genkō War was named after Genkō, the Japanese era corresponding to the period of 1331 to 1334 when the war occurred.