Seeing a desperate situation unfold, the Qing government brought Yuan Shikai back to military power