To determine the number of bars the child sold, we need to find the difference between the starting quantity and the remaining quantity.
Starting quantity: 65
Remaining quantity: 13
Number of bars sold = Starting quantity - Remaining quantity
Number of bars sold = 65 - 13 = 52
Therefore, the child sold 52 bars during the fundraiser.