In face of the repeated onslaughts of the Rajput cavalry, the Muslims broke ranks and fled leaving their king Mohammed Ghori a prisoner in Prithviraja%u2019s hands. Their defeat by the Solankis of Anahilwada had given the Muslims a foretaste of Hindu valor. But in that retreat they had to leave behind many of the best steeds in their cavalry which fell in to the hands of the pursuing Solanki army.
To prevent this from happening again this time, the Muslims resorted to a trick. Once the fortunes of the battle turned against them at Tarain, and their king Mohammed Ghori himself was captured by the Rajputs, the Muslims broke into retreat, with the Rajputs in hot pursuit, the fleeing Muslim general Kutub-ud-din Aibak let loose a large herd of cows chained to each other to block the path of the pursing Hindu army. Thus with their path blocked by bovines, whom the Hindus looked upon as a deity, it was impossible for the Hindus to cut down the cows blocking their path, and the Muslim army shrewdly made its escape, reducing its losses and preventing many Muslim soldiers from being taken as captives by the victorious Hindus.