run afoul
verb
- offend a person, break a set or rules or norms
Wiktionary
verb
- To become entangled or in conflict with.
“At last we hove in sight of the Pacific, and run afoul one of those villainous head winds which you know often set into the west end of the Straits.”
“Propellers can run afoul in heavy seaweed, and ships are said to be afoul when they collide.”