 Ge wanted to marry one of his daughters to Yang Yin and make him an official, but Yang, not willing to accept Ge's commission, pretended to be ill by holding cow blood in his mouth and then spitting it out.In 529, after Ge Rong had been defeated by the Northern Wei paramount general Erzhu Rong, Yang Yin returned to the Northern Wei capital Luoyang and was made a low level imperial official in the administration of Emperor Xiaozhuang.Later that year, when Yuan Hao the Prince of Beihai claimed imperial title under support from Liang Dynasty and captured Luoyang briefly, forcing Emperor Xiaozhuang to flee, Yang Yin convinced his cousin Yang Kan to remain loyal to Emperor Xiaozhuang.