You should be able to uninstall whatever that mod is, followed by uninstalling Sonar, then installing Sonar again.
Please note that if you uninstall Sonar, you should also delete the hidden folder data and registry keys for it, prior to installing it again.
All your projects and audio files should remain, though I would HIGHLY recommend you back up any custom content you created (custom track or project templates, drum maps, etc), and also back up your projects folder (hopefully you are using per-project audio).
Please also note that during the uninstall, I would tell it not to delete the plugins.
I do not know what you would need to uninstall to remove the mods you applied.
To cleanly remove a given release of Sonar:
1. Do the backups as noted above.
2. Uninstall Sonar from the Control Panel.
3. Go to C:\ProgramData\Cakewalk and look for and delete the folder called: SONAR X2 Producer.
4. Go to C:\Program Files\Cakewalk and look for and delete the folder called: SONAR X2 Producer.
5. C:\Users\(your user ID)\AppData\Roaming\Cakewalk and if present delete SONAR X2 Producer.
6. Fire up REGEDIT (I recommend exporting your Registry prior to updating it).
7. In REGEDIT go to Computer\HKEY\LOCAL_MACHINE\SOFTWARE\Cakewalk Music Software\SONAR Producer, and if present, delete key X2.
8. Also in REGEDIT, go to Computer\HKEY_CURRENT_USER\Software\Cakewalk Music Software\SONAR Producer, and if present delete key X2.
You should be able to do a clean install of X2 and then X2a after completing the above. During the install, I recommend temporarily suspending antivirus software AND also explicitly right-clicking on the Sonar install program and clicking on Run As Administrator for the install.
Bob Bone