Okay, having feelings for your T is not abnormal. Depending on the therapy even, it's something that the T is trying to achieve! Part of transference is that it's ultimately supposed to help you in the long run. You did the responsible thing, bringing it up with your T. I can't really speculate on what was going through your T's mind, but they could have been dealing with their own countertransference issues, that they couldn't find an appropriate way to deal with. They could have been dealing with any number of issues actually, that likely had nothing to do with you.
It's not always possible, but a T should try to end therapy in a positive way that will not hurt the client (or will hurt the client the least amount possible). That's about termination. They're even taught how to do it. Sometimes a T isn't a good fit with the client, has their own issues to work through, or even doesn't feel that they've got the right skills to help a client -- so it's generally their job to refer a client elsewhere for help and support. Up and leaving a client without a referral elsewhere isn't something a T is supposed to do unless there are some really big other issues that could pop up. (After all, there are exceptions sometimes)
You've got every right to your feelings, and the right to feel hurt by this. What they did seems pretty unprofessional IMO, and I'm sorry that happened to you.