However, in 1224, following the discovery of the 'Iga Clan War,' a coup to defeat the next regent, Yasutoki HOJO, planned by Mitsumune IGA, brother of Sanemasa's wife's mother, and because Mitsumune's intention to make Sanemasa, his niece's husband, the new shogun on behalf of Yoritsune KUJO at the same time also came to light, Sanemasa was forced to divorce his wife, and then exiled to Echizen Province.
ところが、元仁元年（1224年）、妻の母方の伯父である伊賀光宗が政変を起こして次期執権の北条泰時を倒そうとしたいわゆる「伊賀氏の乱」が発覚、その際光宗は自分の姪の婿にあたる実雅を九条頼経に代わる新将軍に立てようとしていたことも発覚、実雅は妻と離別させられた上で越前国に流刑となった。