it tried its best each time to shy away , to kick out with its hooves , to rear up in defence or attack ; but each time the restraining ropes prevented it from making any of these attempted moves with any degree of success .