Do you do this and then get a new membership? I’m not sure what you are saying.
You get the Sam’s refund if you cancel. If you aren’t using your membership, rather than wait for it to expire, you can get a refund.