You say, "The British", but Paul Revere warned that, "The Regulars are coming out!", meaning the regular army of the King who ruled the colonies. It was their own government attempting to disarm them.
Here's a rough chronology:
1) People in Boston threw tea into the harbor rather than pay a tax.
2) Their own government occupied Boston with the regular army and proposed to stay until the tea was paid for.
3) Citizens opposed their own army's attempts to disarm them outside of Boston.
4) Those same citizens conducted an armed raid against their own government's installation, Fort Ticonderoga, and transported the stolen cannon to Boston.
5) Waking to find their fleet at risk of destruction by means of those stolen cannon, the government agreed to evacuate the occupying army from Boston.
I am totally unconvinced that our Founders intended to require future generations to steal arms from the government, as our Founders had been forced to do, in order to oppose tyranny.
The Second Amendment was not designed merely to permit the people to oppose tyranny. It was meant to discourage even the slightest attempt to impose tyranny.
https://davekopel.org/2A/LawRev/american-revolution-against-british-gun-control.html
The above article is very interesting and discusses “The Powder Alarm” which happened September 1, 1774 in Charlestown. It was being held at a local militia powder house.
Exceprts:
Five days after the Powder Alarm, on September 6, the militia of the towns of Worcester County assembled on the Worcester Common. Backed by the formidable array, the Worcester Convention took over the reins of government, and ordered the resignations of all militia officers, who had received their commissions from the Royal Governor. The officers promptly resigned and then received new commissions from the Worcester Convention....
In South Carolina, patriots established a government, headed by the “General Committee.” The Committee described the British arms embargo as a plot to disarm the Americans in order to enslave them. Thus, the Committee recommended that “all persons” should “immediately” provide themselves with a large quantity of ammunition.
Without formal legal authorization, Americans began to form independent militia, outside the traditional chain of command of the royal governors. In Virginia, George Washington and George Mason organized the Fairfax Independent Militia Company. The Fairfax militiamen pledged that “we will, each of us, constantly keep by us” a firelock, six pounds of gunpowder, and twenty pounds of lead. Other independent militia embodied in Virginia along the same model. Independent militia also formed in Connecticut, Rhode Island, New Hampshire, Maryland, and South Carolina, choosing their own officers.