If it is a hub motor then most lbs will not have clue how to diagnose.
Motor stall is over current/torque overload to the hub and can cause winding failure if it is prolonged, over current manifests it self as excess heat.
Under what circumstances did this occur ?
If you find the hub has lost...