Imperial Japanese Army Academy
In November 1878, Tani was promoted to lieutenant general and was commandant of the Imperial Japanese Army Academy and the Toyama School. He retired in March 1881 in protest over government policies and returned to Kōchi.