Sorry you are struggling
I'm going to guess that yes it is the withdrawal. Psych med withdrawal can be heavy duty stuff. I would monitor yourself closely if it starts to reach a dangerous point
As for the vit d. I don't think that can make you feel worse. Probably just a coincidence