Context Word: give up. 
Question: PersonX stayed out all night searching for the lost dog while PersonY went home to get some sleep, because _ was ready to give up. 
Answer: PersonX
PersonX stayed out all night searching for the lost dog while PersonY went home to get some sleep, because _ wasn't ready to give up.