Definitions of master-at-arms:

  • noun:   the senior petty officer; responsible for discipline aboard ship