Complex sentence: Fearing that the rest of his men would desert him as well, Junayd contacted Yakhshi, who was leading the siege in Hamza's absence, and obtained a safeguard for his life and a pledge that he would be safely escorted before Murad to plead his case.
Split into simpler sentences: Fearing that the rest of his men would desert, Junayd contacted Yakhshi, who was leading the siege in Hamza's absence. He surrended himself and the fortress, having obtained a pledge that he would be safely escorted before Murad to plead his case.