It sounds like a tough time for all concerned, not least you. My sister-in-law had some really crazy (several weeks or months) episodes every few years, which have really put my brother through it. Medication (lots of it) barely touches the sides! She sees a very different world while she is there,with fantastical relationships etc, but which remain consistent throughout here episodes. I feel terrible that I can't help my brother more, meanwhile he is trapped as they have a little boy and he has to make things 'right' for the boy every time. In the years in between, when the medication regime is working, she is a fully functioning person, with a responsible job!
So, second hand, and having only seen a handful of days like it myself, I know how impossibly difficult it can all seem, and is indeed actually so!