Find the word definition

Wiktionary
lose the number of one's mess

vb. (context nautical idiomatic English) To die, to perish.