William, who serves as the Royal Navy’s commodore-in-chief, visited the HM Naval Base Clyde, Faslane, on Tuesday