In 1862, he planned to raise an army to in response to Hisamitsu SHIMAZU's move to Kyoto, however he was defeated in The Teradaya Incident and sent to prison.
文久2年（1862年）、島津久光の上洛にあわせて挙兵をはかるが寺田屋事件で失敗し投獄される。