Uninstalling will do nothing for database. You have to fix the connection string and point it to a valid database and instance.
Ok so you also deleted the Documents/SambaPOS folder and the ProgramData/SambaPOS folder? Second one is hidden so you need to enable hidden folders view to see it. Your connection string is located in programdata/sambapos folder.