San Francisco had an agreement to trade the quarterback to an NFC foe before he opted for surgery.