 Emperor Xuanwu did not execute any of Yuan Yu's sons, but had them, including Yuan Baoju, put under arrest at Zongzheng Temple ().Assuming that Yang Aofei and Lady Yang were in fact the same person, this also meant that Yuan Baoju grew up without either parent.He and his brothers remained at Zongzheng Temple and were released only after Emperor Xuanwu's death in 515.