That said, I think nobody succeed working alone. One need discusaiona, support, structure, eventually money. From your little adventure, I see that (1) you still have motivation to work as a Dev, (2) you're bad at running business, and (3) you like teamwork.
I think give it a new try, in something that deal with emergency maybe, where you have a manager that hopefully can manage you well. It's not a start from zero, it's a start with more information about yourself and are valuable for your future manager. Knowing your limits and yourself is a valuable skill. Also go to see a therapist, you might find something too, as I did.