It might have been a sincere question. Like, she might have been wondering what worked for you. If you'd only talked about what *wasn't* working, maybe she wanted you to reflect and articulate what *was* working. Sometimes it is hard for people to express their positive feelings about another person. Especially if you're not used to people saying positive things or that wasn't how you were raised. It is possible that your sense of 'she shut me up" actually is coming from a dynamic you learned in your past.
I also think it's possible that, if you have a history of abandonment, you are interpreting "well then why do you come" as a potential threat, when it might not be intended that way. Once when a therapist and I had a rupture, she said something along the lines of "well, maybe we are just not a good fit. there are other therapists" and I basically fell to pieces because I felt like I was trying to fix our problem and it seemed like she was dropping me and saying, "shut up." That was not what she intended at all, I later learned. She did not realize the effect that her saying that would have on me, how threatening it felt.
I think you should bring this up with her again. Maybe just tell her, "Look, our last session really went off the rails and left me in despair, and I don't think we were communicating well. I worry I was rude and I didn't mean to offend you, I was just really trying to communicate how things were with me so we could work better together" or something. And then articulate several things you do really like and value about her. And then tell her how it made you feel when she said what she said. Try not to be blaming. Assume that her intentions were good operate from the assumption that your communication just went awry and that you both need to try again.
I think you could get through this, if she is a good therapist and will react nondefensively. I basically have been exactly where you are now and me and my therapist got through it.