Not my own personal experience obviously, but “Burn Rate: Launching a Startup and Losing My Mind” by Andy Dunn talks about the kind of mental breakdown you’re describing. It’s a surprisingly engaging and self-aware book about manic depression and how common it is in the startup world.