I do not know. I would make the decision at that time. Too many variables to make a predetermined decision.
*We* have always been aware Elon would/could leave at some point. Initially, the thought process was after high volume/low cost vehicle. And there was a period of time where some people started to panic around Model 3 timing. Elon categorically said at that point he was staying. Factually, a lot changed along the way and to that point.
Currently, I am of the opinion he stays until he’s ready to go to Mars. Too much needs to be done that he didn’t at first realize nobody else was going to do, and a lot more has changed along the way. In no way do I think he’ll leave over something like being fed up or shareholders voting against a compensation package. That’s not how I’ve ever seen Elon operate or react.
Here's how I see it...
Elon's To Do LIst :
Accelerate the transition to renewable energy
Make BEVs the only reasonable choice for buyers
Make Energy storage products to assist renewable energy sources
Make Batteries to support both of the above
Make Artificial Intelligence work for mankind in a safe and spectacular way
Create self-driving cars to save lives and sanity
Create humanoid robots to do the dangerous, repetitive, and boring jobs
Create AI tools to find solutions to the hard problems (i.e.: the ultimate answer to the ultimate question of life, the universe, and everything)
Create the fastest, most comprehensive compute resources for AI development
Make cars that gather so much data for AI that it boggles the mind
Make the human race a space-faring, multi-planetary species
Create reusable rockets
Create bigger, less expensive reusable rockets
Mass produce bigger, less expensive reusable rockets at a ridiculous pace
Create a satellite-based network that provides a single, worldwide communications link
Make space exploration and colonization affordable and practical
Make life better for people
Create faster ways to bore tunnels
Use tunnels to avoid mind-numbing traffic
Create a brain-computer interface to help a wide range of medical issues
Create a social media platform that is designed to avoid bias in favor of any particular point of view
Make memes
Vanquish bullies
...
...
...
...
increase my personal wealth