The enforcement of maritime laws and regulations at sea, often involving the use of naval vessels to combat piracy, smuggling, and other illegal activities.