Hu retired from public life and went into seclusion in 1646 , after the end of the Ming dynasty . Xiao Yuncong and Lü Liuliang recorded visiting him during his later years , in 1667 and 1673 respectively . He died in poverty at the age of 90 , sometime around late 1673 or early 1674 .