That is sometimes the case, the clamping force can make the cable fray.
Why did you need to undo the cable to remove the wheel? There is generally a quick release on either the caliper or the lever that allow the caliper to open and let the tyre clear the blocks.