Restoring to the last working version is almost always cheaper than six fix prompts. It costs you one change; the fix spiral costs you an afternoon and leaves the codebase messier than it started.
Go back, then come at the same goal with a smaller, more scoped prompt. You'll usually get there faster than if you'd never broken it.