A lot could depend upon the COAS, the next COAS, but it’s the imminent danger to IK due to anti army stance that’s dangerous. This has escalated to another level.
I will say the danger is to both sides with high tensions. If something happens to IK, the blowback will severely affect the military. So I think that PTI and the military need to sit down and hammer out an understanding; maybe this COAS isn't an excellent choice to engage with in talks, but both sides can choose an honest, neutral individual they can trust.
In all this fighting, the only beneficiary is PDM acting all innocent, and the army knowingly or unknowingly is being played by PDM and taking the brunt of the anger.