If you cancel before 31 days out, the points are returned in their original, unblemished condition.
Your normal banking deadlines apply.
It would be as if you never made the reservation. If you are past or somewhere in the middle of the banking deadlines, it would be as if you fell asleep, woke up and had that number of unblemished points on that date. Normal banking deadlines apply.