King Charles III visits Dockyard