master-at-arms

noun

1.
the senior petty officer; responsible for discipline aboard ship