Wiktionary
wits' end
n. (context chiefly UK English) Limit of one's sanity or mental capacity; point of desperation.