Throw up one`s hands (in defeat)

To give up trying, to admit that one cannot succeed.

The professor threw up his hands and decided to let the students go home early.