Bars and restaurants usually post their bills when they see fit.
If they post before your folio is closed, business as usual, you will be billed as expected with your on-board account.
If they post after your folio is closed, but before you disembark, you will be denied disembarking and have...