Shang Kexi
In early 1676, forces loyal to Shang Zhixin placed Shang Kexi under house arrest. Having gained the military command of Pingnan Feudatory, Shang Zhixin promptly joined Wu Sangui's forces. However, after Shang Kexi's death in late 1676 (and also following the surrender of rebel generals such as Wang Fuchen), Shang Zhixin changed his mind and defected back to the Qing. The Qing court ordered him to lead troops against Wu Sangui; but Shang Zhixin only made token efforts to that end, hoping to preserve his own forces.