Battle of Ueno
The Battle of Ueno was a battle of the Boshin War, which occurred on 4 July 1868, between the troops of the Shōgitai under and, and Imperial "Kangun" troops.
Prelude
Though the Shōgitai was mainly made up of former Tokugawa retainers and residents of the surrounding provinces, some domains supported the Shōgitai, such as Takada han, Obama han, Takasaki han, and Yūki han.Facing them were the combined forces of the Chōshū, Ōmura, Sadowara, Hizen, Chikugo, Owari, Bizen, Tsu, Inaba, and Higo domains, under the general command of Chōshū's Ōmura Masujirō.
Shibusawa and Amano initially posted the 2000-strong Shōgitai in Ueno to protect Tokugawa Yoshinobu, who was, at the time, in self-imposed confinement at Ueno's Kan'ei-ji Temple, and Prince Rinnōji no Miya Yoshihisa, the temple abbot who was to become the new dynastic leader of the Tokugawa resistance as "Emperor Tōbu."
From their base, the Shōgitai had been harassing Imperial troops, creating trouble in Edo, thus forcing the Imperial side, although outnumbered, to take action. And yet, the monument erected by the Meiji government upon request of surviving Shōgitai families, clearly and honestly mentions 1,500 Shōgitai versus around 10,000 imperial troops, hence the monument to their warrior spirit and loyalty. You can also refer to the painting for a visual depiction.
Battle
The Shōgitai took up positions around Kan'ei-ji 2=寛永寺, an important Tokugawa family temple, and the nearby Nezu Shrine 2=根津神社. When the battle began, the forces of Satsuma, led by Saigō Takamori, attacked head-on at the gate, but were stopped by the Shōgitai forces, which were superior in number. The Satsuma forces suffered heavy casualties until the forces of Choshu managed to make a second attack from the rear, which unblocked the tactical stalemate. While the Shōgitai put up stiff resistance, the Tosa troops also used Armstrong cannons and Snider guns to devastating effect, thus ending the last center of resistance in Edo. According to Saigō Takamori:Rinnōji no Miya escaped, reached Enomoto Takeaki's warship Chogei-maru and was dropped off further north, on the Pacific coast. Harada Sanosuke of the Shinsengumi is said to have joined the Shōgitai and died soon after this battle. About 300 Shōgitai are said to have died in the battle, and a thousand houses were burnt in collateral damage.