Depending on the type of certificate that was used, it may take several days to be returned to your account. It is also possible for the certificate itself to remain on your account without the points being returned. The certificate should still be valid to use for any other stay. If you would rather have the points on your account then the certificate, you should be able to contact Marriott Rewards support who can make the change for you.