It's a true power struggle. As a software engineer I have actually fallen into the trap of thinking that because of the law or a contract something would happen. It is a softer power than I expected.
The board wants to make money, that's why they hold shares and positions. If Mullenweg has the power to destroy value, that will be powerful leverage over them. If his employees side with him, if he holds the accounts, they'll have to negotiate carefully.
Of course, you would need a lawyer to determine when this crosses from a civil dispute to a criminal dispute because at some point him using the keys when he's not authorized could be a crime and if they can get the cops involved that certainly changes the dynamic.
It's already criminal from the sound of it
This is why Sam Altman is in charge at OpenAI and not the board members that tried to fire him.