Why won’t he just end it?

My boyfriend and I have been together for many years, yesterday he told me he doesn’t know what he wants, he now hasn’t been talking to me at all, I don’t understand. If he doesn’t want to talk to me then why won’t he just end it. What would you do