For anyone else who is thinking about switching careers, this is how I started: At some point during my career as a lawyer I started collecting ideas for a better, more effective way to work as a lawyer. Software could help a lot while doing many administrative tasks and would allow a lawyer to focus on what creates value - giving legal advice, thinking through tough legal problems, negotiating a great outcome for the client... Yet a lot of enterprise software is too hard to grasp, and many lawyers just stick with the old way, doing most things manually (by themselves or have it done by their assistants).
So I started building one MVP, pivoted and now am building a "GitHub for Word". Steep learning curve as a startup founder and well worth giving it a try. If you are interested, check out my project Jules: https://julesdocs.com
What about as a partner?
Worse yet, lawyers have to keep working to continue to receive equity compensation in the overwhelming majority of cases. So you can't retire and continue to make money from your equity stake. You can't even really cut back on the crazy hours. This answer covers it pretty thoroughly: https://www.quora.com/Do-partners-in-law-firms-keep-a-share-...