but when the battle was ended and from the ruin of the north great clouds arose and hid the stars , the valar drew melkor back to valinor , bound hand and foot , and blindfold ; and he was brought to the ring of doom .