I can relate.
I've had that happen a number of times. Accidentally hitting the wrong key, or just dropping a pen or something on the keyboard - then something changes, with no clear path to reverse whatever it is.
It would be nice to have a default button for these things like we have 'Control Z' to undo the intentional decisions in the DAW.
Otherwise it requires knowing virtually any & all the keyboard short cuts from the start, [not all of which are always easy to find], which of course takes time to to learn.
For me I have 3 DAWs now, with somewhat different short cut keys.
Very frustrating for sure.