The events you are referring to involve the Intolerable Acts, also known as the Coercive Acts, which were enacted by the British Parliament in 1774 in response to the Boston Tea Party. One of the key provisions of these acts was the Boston Port Act, which effectively shut down the Boston Harbor until the colonists paid for the tea that was destroyed during the Boston Tea Party.
The Intolerable Acts aimed to assert British authority over the colonies and punish the citizens of Boston for their defiance. These acts included several laws that not only targeted Massachusetts but also aimed to suppress colonial resistance and maintain British control. They led to widespread anger and resentment among the colonies and played a significant role in the escalation of tensions that ultimately resulted in the American Revolutionary War.