It seems almost intuitive that the phrase run amok has something to do with muck. In fact, it's often mistakenly written as run amuck. The truth is far more interesting: it was transliterated in the late seventeenth century from the Malay word amuk, which was basically the equivalent of Norse beserk: it described a frenzied state of furious attack, often resulting in killing sprees. This term was picked up by Portuguese sailors as amouco and was first used as an adjective or noun to describe the type of violent, unpredictable Malay they associated with the word. Through Proto-Malay, amuk is from a Proto-Malayo-Polynesian root sounding like hamuk; cognates exist in other Oceanic languages meaning "haunt" and "charge", so it has something to do with running into battle as well.
Adam Aleksic, a freshman studying linguistics at Harvard University, has been described as the internet's sixth most famous etymologist. He has disturbing interests in words, vexillology, geography, board games, limericks, and law, and he loves writing about himself in the third person.
The Etymology Nerd