Imperial victory The Battle of Hakodate (箱館戦争, Hakodate Sensō) was fought in Japan from December 4, 1868 to June 27, 1869, between the remnants of the Tokugawa shogunate army, consolidated into the armed forces of the rebel Ezo Republic, and the armies of the newly formed Imperial government (composed mainly of forces of the Chōshū and the Satsuma domains).
Enomoto Takeaki, vice-commander of the Shogunate Navy, refused to remit his fleet to the new government and departed Shinagawa on August 20, 1868, with four steam warships (Kaiyō, Kaiten, Banryū, Chiyodagata) and four steam transports (Kanrin Maru, Mikaho, Shinsoku, Chōgei) as well as 2,000 sailors, 36 members of the "Yugekitai" (guerilla corps) headed by Iba Hachiro, several officials of the former Bakufu government including the vice-commander in chief of the Shogunate Army Matsudaira Taro, Nakajima Saburozuke, and members of the French Military Mission to Japan, headed by Jules Brunet.
On August 21, the fleet encountered a typhoon off Chōshi, in which Mikaho was lost and Kanrin Maru, heavily damaged, forced to turn back, where she was captured at Shimizu.
They eliminated local resistance by forces of Matsumae Domain, which had declared its loyalty to the new Meiji government, and occupied the fortress of Goryōkaku on October 26, which became the command center for the rebel army.
On November 14, Hijikata and Matsudaira converged on the city of Esashi, with the added support of the flagship Kaiyo Maru, and the transport ship Shinsoku.
After eliminating all local resistance, on December 25, the rebels founded the Ezo Republic, with a government organization modeled after that of the United States, with Enomoto Takeaki, as President (総裁).
Other Imperial ships were Kasuga, Hiryū, Teibō, Yōshun, and Mōshun, which had been supplied by the fiefs of Saga, Chōshū and Satsuma to the newly formed government in 1868.
After a few years in prison, several of the leaders of the rebellion were rehabilitated, and continued with brilliant political careers in the new unified Japan: Enomoto Takeaki in particular took various ministry functions during the Meiji period.
The 1869 Battle of Hakodate shows two sophisticated adversaries in an essentially modern conflict, where steam power and guns play the key role, although some elements of traditional combat clearly remained.
In a sense, the Restoration movement, based on the sonnō jōi ideology was a reaction to this modernization and internationalization, although, in the end, the Meiji Emperor chose to follow a similar policy under the Fukoku kyōhei ("rich country, strong army") principle.
Although they were speedily rehabilitated upon their return to France, and some, such as Jules Brunet continued illustrious careers, their involvement was not premeditated or politically guided, but rather a matter of personal choice and conviction.