Please be cautious. It sounds like this fellow is the most considerate and loving when you distance. When you get close, he switches to abuse and disrespect. It looks like his sweet side comes out only when he is in pursuit. Being close scares him so much he does everything possible to push you away. You may find that being with him will mean regularly being pulled and pushed by his two sides. Many women in relationships like this keep forgiving the harsh side because the sweet side is so sweet. But ultimately, you have to ask yourself if the good times make the bad times really worth it.
I suppose you could try going back to him to see if the pattern repeats itself. But I doubt you really need to set yourself up to be hurt like that again to find the answer to your question. Let yourself get very quiet and still and ask yourself what your best instincts tell you. I have a guess that if you listen to yourself, you’ll know what you need to do.
I hope you know that you didn’t deserve to be so badly mistreated before and you don’t deserve it now. If he can’t cherish you and share a positive and loving relationship with you, respect yourself enough to sever your ties with him. Open yourself up to finding someone who always treats you well.
I wish you well.