Edit file to reset theme

Trying to create a new theme form a template, screwed things up and deleted the files, now unable to run the default page locally because it cannot find the theme pages, is there a file I can edit manually to reset the theme? Thank you Edit: I found a
way to fix the issue, I made a copy of the theme I want to use and renamed it to what it was looking for, then could go to settings and change it to the correct theme.