If you typed "O" you put Sonar in Offset mode. Below is from the manual.
Envelope mode and Offset modeThere are two modes which control how your volume faders, pan faders, bus send faders, and bus send pan
faders behave during playback. The two modes are
Envelope mode and
Offset mode.
Envelope mode. In envelope mode, volume and pan faders follow the project’s automation and do not respond
to changes you make in real-time.
Offset mode. In Offset mode, you “offset” the current automation in a track using a parameter’s controls. For
example, if a pan envelope is set to hard left (100% left) and you adjust the pan in offset mode to 100% right, then
the pan parameter is now set to hard right. Setting the pan in offset mode to 50% right would set the pan to the
center.
Note: Any position that you set a fader to in Offset mode remains in effect when you switch back to Envelopemode. For example, if you set a volume fader to -INF while in Offset mode, switch to Envelope mode anddrag the fader to its maximum level, you will not hear anything.