# were at their wits' end
The phrase "at their wit's end" means that they did not know what to do. Alternate translation: "and they did not know what to do" or "they had no idea what to do" (See: [[rc://en/ta/man/translate/figs-idiom]])