In the autumn of 1840 Wilkie resolved on a voyage to the East. Passing through the Netherlands and Germany, he reached Constantinople, where, while detained by the war in Syria, he painted a portrait of the young sultan. He then sailed for Smyrna and travelled to Jerusalem, where he remained for some five busy weeks. The last work of all upon which he was engaged was a portrait of Muhammad Ali Pasha, done at Alexandria. On his return voyage he suffered from an attack of illness at Malta, and remained ill for the remainder of the journey to Gibraltar, eventually dying at sea off Gibraltar, en route to Britain, on the morning of 1 June 1841. His body was consigned to the deep in the Bay of Gibraltar. Wilkie's death was commemorated by Joseph Mallord William Turner in the oil painting titled "Peace—Burial at Sea".