One of the standard lines that you hear when discussing the Second Amendment as a tool for allowing the citizens of a nation to replace the government if it becomes abusive is that citizen militias are useless for opposing government tyranny, because the government owns all sorts of weapons like tanks, jet fighters, Aegis cruisers, and even nuclear weapons, and a citizen militia armed with what amounts to hunting rifles would be powerless against that kind of force.
Leaving aside the fact that making such a statement makes me believe that this is actually making a case for loosening restrictions on what arms the citizens can own, the belief that a citizen militia cannot beat a tyrannical modern military is a sign of unimaginative thinking. I will admit that a bunch of citizens armed with semi automatic rifles would be soundly defeated on a battlefield by any modern military employing those tanks, jet fighters, and artillery. It is a wise move to avoid any battlefield where such weapons are being used. That is when a smart militia redefines the battlefield.
The M1 Abrams is a fuel hog. A company of 14 of those tanks needs nearly 1,000 gallons of fuel to move 100 miles. The tanks break down every 250 hours or so. The F16 fighter uses an average of 7 pounds of fuel for every minute of flight, and requires 12 hours of maintenance for every hour spent flying. Both of those weapons need spare parts, as they are wonders of technological achievement. Therein lies the weak spot. Convoys of fuel trucks and spare parts are easy to raid, and a tank with no fuel becomes a fixed pillbox. A jet fighter on the ground threatens no one. So the military has to spend time guarding the convoys.
Then you attack the factories that make the spare parts, the electric lines bringing them power, and the supply trucks and pipelines that supply the factories and refineries. Now the military has to use the high tech weapons and equipment to guard those.
Let a military armed with tanks and jet fighters choose the battlefield and you will lose. A citizen militia would have to avoid allowing that to happen, but it can be done.