Not restarting when hot

The problem happened on the way down and we kept the van running when we filled with fuel but again when we had dinner while waiting for the ferry it again would not start but when it cooled it eventually did.
We did not have the problem once while in Tassie.