In 1630, when Later Jin forces besieged the Ming capital, Beijing, Qin Liangyu led forces from Sichuan to reinforce the capital. The Chongzhen Emperor showered her with praises in poetry and presented her with four poems as she passed through Beijing. In 1634, when Zhang Xianzhong's rebel army invaded Sichuan, Qin Liangyu and her son, Ma Xianglin (馬祥麟), led their troops to attack the rebels, defeated them at Kuizhou (夔州; present-day Fengjie County, Chongqing) and drove them away. In 1640, Qin Liangyu defeated another rebel force led by Luo Rucai (羅汝才) in Kuizhou and Wushan. In recognition of her contributions to the Ming Empire, the Chongzhen Emperor appointed her as the Crown Prince's Guardian (太子太保) and awarded her the title "Marquis Zhongzhen" (忠貞侯; lit. "Loyal and Chaste Marquis").