It depends on whether you return the whole order.
If your whole order is cancelled or fully refunded, the points you redeemed on it are returned to your account automatically. If you return only part of an order, redeemed points are not returned, and the refund is calculated on the amount you actually paid after the points discount.
Points you earned on returned items are removed from your account, and you keep earning points on your future purchases.
If you exchange a full-price item instead, you do not need to top up the points you used. You can exchange it once within 15 days for any full-price item. If the new item costs more, you pay the difference; if it costs less, the difference is given as store credit.