I was at loose ends and in a funk.
⇑ Translate the sentence above by Google ⇑
Related: loose
Next: Two wooden beams had come loose from the ceiling.