Fortunately, the Lead terminal didn't melt into the Lead battery post, and the battery wire is virtually undamaged. But even if it were, it's fairly simple & quick to straighten out & clean the strands of wire to make a quick, secure, & reliable solder joint.
See also:
.
.
.
Motorcraft F2TZ-14301-B Negative Battery Cable with body, frame, & block grounds