Clue: Writer distraught after wife leaves for judge (5)
Answer: TRIER
Explanation: Definition: judge
***(riter)** i.e. W(riter) *after* W(wife) *leaves