Colon had a couple years left on his $20+ million a year contract & walk away from it.
He just got bad advice from somebody
He was pretty much finished in SF. They were expected to cut him after that season anyway. Those multi-year NFL contracts usually have a big out for the teams. It was not guaranteed past the first couple of years which he had already played on his “big” contract.