the duke began working his way towards the exit , painful foot by painful foot as the rumbling intensified and the booming grew louder and closer the captain and the princess ran from the ruins and headed for the beach .