William Cain (1862 – 27 August 1932) was a Manx merchant navy officer who served as commanding officer of numerous Isle of Man Steam Packet Company vessels. Cain is remembered for ramming the German U-boat SM UC-26 on the night of 16 February 1917, whilst in command of the Mona's Queen.