The time was the first year of Keio (1865). Upon hearing the news that the Imperial Army was approaching Hida Takayama, the district head Shimizu Uzen fled to Edo. Local officials like Yoshida Bunsuke and Yoshizumi Hironoshin showed their allegiance by welcoming them. The commander at the time, Umemura Hayami, was a former member of the Tengu Party and had previously been pursued in the town. He took refuge in a restaurant named Kabuya, and owing to a tip-off from a woman named Oraku, he was almost captured for her lover, Yoshizumi. Oraku and Yoshizumi probably feared revenge from that previous encounter, but Umemura had come back to Hida because he couldn't forget Oraku.
More info