Earlier quoted context omitted.
Same thing the original Americans did when protesting the massively better trained and armed British Army. Keep their wits about them and keep fighting. If anything the war in Afghanistan has proven that technology is no match for resilience and grit.
Afghanistan is a fool's mission, not a war. If the US had the desire and stomach to wage total war against the people of Afghanistan (gladly we do not), there would not be a lingering quagmire.
https://en.wikipedia.org/wiki/Soviet_partisans
>The partisans made significant contributions to the war by frustrating German plans to exploit occupied Soviet territories economically, gave considerable help to the Soviet Army by conducting systematic strikes against Germany's rear communication network, disseminated political work among the local population by publishing newspapers and leaflets, and succeeded in creating and maintaining a feeling of insecurity among German forces.[1]