He had an adventurous spirit, and was interested in exploring the then almost unknown country north of the Karakoram; after one or two tentative excursions, he started in May 1868 for Eastern Turkestan, travelling as a merchant.
Both Hayward and Shaw found themselves under house arrest; but in secrecy they made contacts outside the walls of Kashgar.