Charles Philip Yorke, Fourth Earl of Hardwicke, Vice-Admiral R