The app script is still in my template after the removal of the app

The Shopify uninstall process does not allow us to access your store once you hit the 'Uninstall' button.

For that reason we cannot remove the app script if you haven't disabled the app before. 

We always suggest to disable the app before uninstalling it, as in this way, a clean removal of app will be ensured.

If you didn't disable the app before uninstalling you will find, at the end of your theme.liquid template, a line similar to:

      <script src="//" defer></script>

It won't harm your store but you can remove it safely, just delete that line from your template.