Most engineers think becoming a manager is just the next logical step. I thought so too. What happened next nearly derailed me—and taught me lessons I’ll never forget.