Back in those days quite a lot of Americans were moving west fighting coyotes and indians.
It doesnt help to pretend it was some noble freedom, or that America is an actual democracy today, because i highly doubt nobody in American wishes to build a ballroom or invade Venezuela.
America is a republic. Lots of Americans voted for the person doing those things.
Personally I believe capturing Maduro gave regular Venezuelans a chance to rebuild their country. Based on the parades and celebrations of expat Venezuelans living abroad many of them supported it as well.
I recently talked to an Iranian fellow who lamented his country's state, and was clear that he believed an armed population would let Iran get out of the mess it's in, but also would've prevented the mess in the first place.
Seems pretty clear in the context of the revolutionary war that the purpose of the 2A was to protect the ability of citizens, or more specifically militias, to overthrow a tyrannical government.
Interestingly this has actually happened once in the USA since the revolutionary war, the Battle of Athens in Tennessee in 1946 (1)! Small scale sure but it worked as intended.
1: https://www.libertarianism.org/articles/battle-athens-obscur...