Uninstalling script will remove files in the directory in which the script got installed as well as the database which got automatically created with the script.
If you have data, and want to do that, you need to first backup your site with e.g. joomlaPack or FTP + mysql and then uninstall and then restore.