 At that time, Tan was already on the dock ready to depart for Jiang Province, and Liu Yikang summoned him back to Jiankang and arrested him.Emperor Wen then issued an edict falsely accusing Tan of preparing treason and executed him with his sons, but spared his grandsons.