 In that rank he served in HMS "Vanguard" from 1836 – 1838.Walker married Mary Catherine Sinclair Worth, daughter of Captain John Worth and Catherine Sinclair, on 9 September 1834.In 1838 Walker was given special permission of the Admiralty to accept a command in the Turkish Navy, in which he was known as Walker Bey and later as Yavir Pasha.