So he swooped down upon the boasting bird and was about to destroy him , when the vanquished Cock came out of his hiding-place , and between the two the Hawk was calamitously defeated .