Junayd remained in Samarkand for about four months, until October 731, allowing his army to recover. The Türgesh meanwhile made for Bukhara, which they besieged. Junayd again resolved to meet them in battle, and managed to inflict some defeats on the Türgesh in early November and raise the siege of Bukhara, which he entered on the day of Mihragan.