at your wits' end
idiomPart ofwit
at your wits' end — idiom
1. So worried or annoyed by a problem that you no longer know what to do.
1.idiom
Definition
So worried or annoyed by a problem that you no longer know what to do.
Example
The toddler would not stop crying, and Dewi was at her wits' end by midnight.
After three days with no internet connection, the whole office was at its wits' end.