In 478, with his forces unable to capture Yingcheng, Shen Youzhi's soldiers began to desert. Shen then aggravated the situation by imposing severe punishments on the commanding officers of deserting soldiers – which in turn caused "them" to desert. Shen's officer Liu Rangbing (劉攘兵) then surrendered to Liu Shilong, causing his forces to collapse. He tried to retreat to Jiangling (the capital of Jing Province), but by the time he did so, Zhang Jing'er had already captured Jiangling and killed Shen Yuanyan, whom Shen Youzhi had left in charge of Jiangling. Shen's remaining army, seeing that Jiangling had fallen, collapsed, and he initially tried to flee, but realizing that his escape route had been cut off, committed suicide along with his son Shen Wenhe (沈文和). His other sons were killed by Zhang Jing'er. In 483, Xiao Daocheng's son Emperor Wu of Southern Qi, recognizing Shen Youzhi's accomplishments, permitted him to be reburied with proper honors.