Wiktionary
throw up one's hands
vb. (context intransitive English) To cease an attempt because it is perceived as doomed.