Valmiki Ramayana Sundara Kanda Sarga 35 Shloka 58
Original Shlokaते वयं कार्यनैराश्यात्कालस्यातिक्रमेण च। भयाच्च कपिराजस्य प्राणांस्त्यक्तुं व्यवस्थिताः।।5.35.58।।
1 source checked for this shloka
ते वयम् we were, कार्यनैराश्यात् disappointed, कालस्य of the time limit, अतिक्रमेण च exceeding, कपिराजस्य of monkey king's, भयाच्च out of fear also, प्राणान् life also, त्यक्तुम् to give up, व्यवस्थिताः decided.
"We decided to give up our lives due to disappointment, transgression of the time limit fixed for us and fear of the monkey lord (fear of facing the king without finding you).