The phrasal verb give up can mean 'to surrender' i.e. to stop trying and admit defeat.
It can be used when we can't answer a quiz/test question someone asks us.
Give up as 'stop trying':
Example - "You'll never guess the answer - do you give up?"
Example - "I can't think of the answer; I give up."