Anchor, Raft up, wait, go someplace else.
Around here, they might put you at the service
dock overnight (when the gas and pumpout are closed).
Here is Canada
, they cannot turn you away if you claim a safety
, tired crew, suspected leak, etc. However, many/most marinas here require proof of insurance
($2million liability) before allowing you to stay.
I have found that if you have kids
and not too fancy a boat, they will move mountains to get you a slip.