Many cruise lines will take a pending payment from the card that you register upon check-in.
Once your final onboard account has been settled the pending payment will be refunded to your card. However, this may not be processed until after you have arrived home from your cruise.