One possibility that they cancelled their contract not to screw you, but because they felt you were not getting the job done and the future wasn't there for your company. Given that, it would make little sense to extend the note or continue the contract.
As both customer and investor, your vision is not their problem.
Lest you think I'm being to hard on you, I've worked at one startup which went bankrupt in a similar situation (most of the engineering team ended up at working for our biggest customer) and another in which the board fired the CEO, liquidated the bad bits and sold the good bits to one of our customers. In both those cases the founders saw themselves as victims of unscrupulous sharp players, but the reality was that they took other peoples money and were seemingly oblivious to the obligations that entailed.
It is perfectly possible that it could be that way, and I wish it was that way because then it would only be a money issue, which could (in theory) be rationally resolved.
Things that somehow contradict that, is how unwilling to resolve the issue the investor has been. The company was profitable at the time he ended his contract and called the note. At that time he said he didn't care about his note, that he'd just write it off as a loss and he'd get 50% back in taxes. He could also have gotten his money back by taking a payment plan. Additionally we offered up the assets as payment so we could avoid bankruptcy, but he refused. Then he abandoned the assets after acquiring them in bankruptcy.
To me it doesn't make any sense, but I hope you are right, that this is only about his money and that we can somehow reach an agreement that puts a definitive end to this mess.
1) Make sure the contract protects you personally if the company cannot pay the note. For example, make it so the note automatically converts to equity instead, or so a certain % of note holders can force the conversion.
2) Make sure there is nothing in there saying that you or your company have to pay the legal fees of the investor.
3) Get legal services / liability insurance for the founders of the company. This will help ease the financial burden in case of legal issues.
Usually, investors that lend you money have a lot more (legal) ways to go after you than equity investors (shareholders). With good actors this is usually not a problem, but when assholes are involved, you never know.
Also, bankruptcy is expensive. There are 2 types of corporate bankruptcy, Chapter 7 and Chapter 11. Ch 7 will cost you about $20-50k in legal fees, depending on the complexity of the case - bear in mind that after the company files for Ch 7, you have to pay for your own legal fees. Ch 11 is about $100k+ - most lawyers will advise against it unless you have pretty deep pockets.
You can also unwind a company outside of court, but it is a bit risky legally and something you definitely not want to do when there's a potential conflict or a bad actor involved.
I can say that he's not based in the Bay Area, so if you are raising money there it is very unlikely you will run into him.
I can also say that our best investors were RightSide Capital, based out of SF. They supported us throughout the whole ordeal with the company and even offered to buy out the other guy. They also said that, out of 600+ investments they had done at the time, they had never seen another investor act the way ours did.
Why didn't this happen? That seems like an obvious outcome of the situation, unless losing the big client is enough to effectively destroy the company.
Instead, he chose to start a (very costly) legal fight.
So far he's probably out $100k+ in legal fees and looking to spend $100-200k more in the new personal lawsuit. The original note was for $250k. I don't think he's ever going to recover the full amount of money he's put into this (not to mention also his and everybody else's time as well as opportunity costs).
It seems like the only ones that have benefited (because they got paid to put their time on this), are the lawyers involved, and the people running the courts.
We've consulted with multiple lawyers and therapists to try to fully understand the situation.
Two guesses so far:
1) When he "offered" to take over the company, he said he would fire me and keep my cofounder running sales. This whole ordeal also coincidentally started a couple of days after my cofounder said she would be stepping down as CEO (even though he had previously told her he would extend the note). We have the impression he wants to "own" my cofounder somehow (according to an expert in psychopaths that we consulted with, the investor fits the profile - my cofounder is also very pretty and she's had to deal with stalkers multiple times in the past)
2) After the conflict started, we found out this investor apparently had defrauded some people to fund his own company (he currently has open lawsuits about that). If this is true, he might be projecting, believing maybe we did the same to him (which we did not)
But those are just guesses. I wish he would just pick up the phone and we could talk to reach some sort of agreement to end this madness.
This sounds like the basis. The saying goes, "Hell hath no fury as a woman scorned," but let's not be sexist, it applies to men as well. And no less to men who had no pretense of legitimate courtship.
You might get over the legal case by showing it's a vexatious lawsuit, for instance by showing that the monetary motivation is not rational because he turned down offers that would have remedied his loss completely.
That the contract was cancelled because the product wasn't worth it?
That the note wasn't extended because he thought the company was a money sink which would not be profitable? That he thought trying to liquidate the good bits was a better way to get his money, rather than a payment plan from a value destroying enterprise?
That he sued personally because he felt they might be trying to hide assets of the firm?
I could be wrong, but there are other angles to see the picture from.
You would be stunned at how often the reasons for events like this are driven by simple narcissism and spite. That's not cynicism speaking, it's reality, and something well worth keeping in mind in any business endeavor.
Replied to another comment of yours with more detail on why it looks like a weird situation.
To add a bit more: our investors, the lawyers that we've worked with so far and even the bankruptcy trustee's team, have all been surprised by the way this guy has been handling the situation and seem to agree that it doesn't make sense to proceed that way in terms of getting a return on his money.
He might be an evil ass-hole but also he might be thinking that he is the one getting screwed here.
The investor that didn't want to extend the note was also the CEO of the company that was our largest client, so not only did he call his note, he also ended his company's contract, making a huge hole in our revenue.
After doing that, and knowing that the company would be struggling financially, he sued, forcing the company into bankruptcy.
From the beginning we tried negotiating a payment plan or some other form of compensation, to no avail. Although at some point he did "offer" to completely take over the company and fire the founders (which we of course refused).
During bankruptcy, he took over the assets of the company while also giving us and the trustee a hard time.
Now, after having ruined the jobs of everyone that worked at our company plus the potential upside of all the other investors and shareholders, he is suing me and my cofounder personally.
The company closed 2 years ago and it looks like this new lawsuit will take another 2 years. Also no one knows if this guy is going to stop at that.
Be very careful about doing business with assholes, especially if they have a lot of money and you will be taking any type of potential liability (e.g. debt) in their favor, even if it's not personal liability, they might still try to go after you and make your life miserable.