weaning and mental health

I posted earlier today but I can’t find it. Has anyone here had a sudden depression episode come on when weaning from breastfeeding. How long did it last and did anything help?