If a vessel to which this chapter applies is operated in violation of this chapter or a regulation prescribed under this chapter, the owner, charterer, managing operator, agent, master, and individual in charge are each liable to the United States Government for a civil penalty of not more than $5,000. The vessel also is liable in rem for the penalty.