Can't uninstall on Ubuntu 18.04

So then I can simply delete that folder and maybe re-initialize postgre db to reset discourse?
If so, how do I reset postgre?

Thank you.