If you manually ended the relisted sold item BEFORE it ended and no-one bought it, then it's ending the listing, not cancelling the sale. If someone bought the relisted sold item and then you had to cancel it because you no longer had it, then it counts as a defect.

View solution in original post