However, at the time of Ansei no Taigoku (suppression of extremists by the Shogunate), Taka became a spy who sent information about tobakuha (anti-Bakufu, crushing-the-Bakufu faction) in Kyoto to Edo and largely supported Ansei no Taigoku.
しかし、安政の大獄の際には京都にいる倒幕派の情報を江戸に送るスパイとなり大獄に大きく加担した。