This is an extreme case of dead equity, allegedly caused by forcing one of the founders out due to their pregnancy.
Requiring a vesting schedule wouldn't fix this. It's orthogonal.
Aren't the shares worthless anyway? The company is bust, right?
Given that the other founder was planning to take the remaining money to pivot into something new means that there would possibly still be a claim of that new venture with those shares.