Starter solenoid maybe? Or relay?
If it was the starter the noise you heard may have been the starter disengaging finally. And it's probably done for.
But you might be able to start it after it cools down. Maybe.
Don't "think outside the box".
There is no box.
Do it correct, or do it twice.