When does a person have the power to do away with the government?

A voter can technically get rid of the government every time there is an election.
This rarely happens because incumbent candidates have a very substantial advantage due to name recognition and an established contact list.

However, anything other than voting or running for office is treason. You do not have the right to overthrow your government.