A company can fire an executive or high ranking/important person who is on contract for moral transgressions, but the company is not going to get money back from the person, unless that person stole or extorted monies and payback is part of the sentence.
This case has nothing to do with Fogle's salary or compensation from Subway. Fogle's deal with Subway came as a result of him eating their food, losing a lot of weight, being discovered and talking about how he used their food in his diet and they kept him for 15 years as their major spokesperson. They terminated their business relationship and that's that. There won't be any legal action from Subway. Fogle will be in prison for years to come, anyway.
Exactly. If anything, it's Subway's fault for not doing a better investigation of his character before making him their spokesperson.