for what seemed a great time , cramped and wearied , and soon hungry and thirsty as well , he sat still in the darkness trying not to attend to the unflagging repetition of `` ransom - ransom - ransom . ''