Unistall Wordpress (Subdirectory Install) without damaging the Root Dir WP Install

Hey guys I installed WP in a sub directory of a site. That’s easy enough. But how do I uninstall ONLY the sub directory WP install without damaging the root directory WP install?

Deleting the folder is easy but what about the database? Is this manual work or is there a simple utility to do it for us, like the WP installed (but in reverse)?

Thank you!