Check your Windows "Restore" points. Sonar should have created a restore point before it installed the demo OR you can check the dates and find an automatic Winsows Restore point that you can revert back to (so look for the one JUST before you installed the Sonar demo).
I create my own manual Win Restore points before installing anything on my DAW using descriptive names and a date so I know what I did, when and thus am able to restore to a point in time I KNOW I had a working config.
eg: Dec11 Install Sonar Demo
System Restore is different than a full on System Image backup because it retains all new files created. What it does is revert the system programs and settings back to a previous state. This means you do not lose any files created between the time you create the restore point and the time you engage the restore point.
To access Windows Restore click on your Start Menu. In the "Search Programs and Files Field" type "Recovery" and click on the option that says "Restore Your Computer to an Earlier Time".
Aftter that click on the button that says "Open System Restore".
Follow the instructions in the dialog that pops up and choose the appropriate restore point to revert back to BEFORE you installed the offending program (in this case the Sonar Demo).
As I said there should have been an auto restore point created before the Demo was installed but you will also likely see auto restore points created by windows anyway that you can choose from.
As far as the issue described in the OP... I have no idea why that would happen but I've never installed the demo.
Cheers.