In 1871, she traveled to Kyoto to look for her brother Yamamoto Kakuma, who had spent years as a prisoner of war in Satsuma custody. Upon her arrival in Kyoto, Yaeko was hired as a substitute instructor at Kyoto Women's School (ja) on the recommendation of her brother Kakuma, who was working as an advisor for the Kyoto prefectural government at that time.