H. M. S.

n.1.A prefix used in the names of British warships, meaning His Majesty's Ship or Her Majesty's Ship; as, H. M. S. Pinafore.
Webster's Revised Unabridged Dictionary, published 1913 by G. & C. Merriam Co.