If you cancel an order that used gift cards then they will just go back to your account. You will have to go to the gift card page
to get your codes.
If you did a buyout assignment, you will have to submit a support ticket and have them cancel that before you can resubmit the order and get the assignment.
If you didn't do a buyout then you can just cancel and re-order right away.