I just uninstalled the sublime text and installed a new one but I didn’t see any backup created Session.sublime_session .
Sublime Text will only make a backup just before it exits to update itself, it was added specifically to help with this exact bug. The uninstaller/installer never touch those files or any of your configuration.
Another question if we are using an unregistered sublime text does it create this scenario?
The only difference between licensed and unlicensed is that you don’t get nagged and can disable update checks. Everything else is identical.