The British banned the colonies from using Boston Harbor in 1774 "To make colonists pay for destroying shipments of tea."
For example, this quote states that "On March 25, 1774, British Parliament passes the Boston Port Act, closing the port of Boston and demanding that the city's residents pay for the nearly $1 million worth (in today's money) of tea dumped into Boston Harbor during the Boston Tea Party of December 16, 1773."