The issue is going to be did the current drawn by the motor over load the ESC. If the motor was actually still running at the end then the ESC should be ok. If the motor stopped "un-commanded" then it is a toss up as to whether it was the motor or ESC than failed first.