A significant historical incident of a town rebellion involving the ejection of a court is Shays' Rebellion in Massachusetts. This episode is part of broader themes of defiance against British rule and unfair local legislation in the 17th and 18th centuries, including key events like the Boston overthrow of the Dominion of New England.
The student's question revolves around historical incidents of rebellion in various towns during the 17th and 18th centuries. Specifically, this refers to the overthrow of the court by the people in a town. Based on the information provided, the most notable event that matches the description of rebellion and the involvement of a court would be the insurrection led by Daniel Shays in Massachusetts. This event, known as Shays' Rebellion, took place during 1786-1787 and was a direct response to the unfair economic policies and financial struggles imposed on debt-ridden farmers.
Significant rebellions and acts of defiance against authoritative or governing bodies during this period include the overthrow of the Dominion of New England in Boston in 1689 and Salem's witchcraft scare. However, the specific act of throwing out the court is intimately associated with Shays' Rebellion in Massachusetts, which saw the Court of Common Pleas in Northampton overtaken to prevent the trials of indebted farmers.