Complex sentence: Initially it appeared that he was safe in Etawah, not far from Meerut where the rebellion began but this changed and Hume had to take refuge in Agra fort for six months.
Split into simpler sentences: Initially it appeared that he was safe in Etawah, which was not far from Meerut where the rebellion began. This however changed and Hume had to take refuge in Agra fort for six months.