In Preferences, you can set Sonar to zero all controllers (including pitche bend) when you stop so things are normal the next time you play. Also, I always put a Controller 121 and a pitch bend=0 at the top of each MIDI track.
Of course, if you accidentally recorded the pitch bend, these suggestions won't help.

But easy to look in the event list view and see...
I'm just saying this for the future.