The flag or ensign flown from the mast or stern of a ship.