Sarai was poorly defended at the time and Mokhammad found himself ill-prepared for an attack. In early August he mustered his forces and managed to break the siege long enough to escape. Berdi's forces subsequently occupied the city.