Being something of a swimmer , he at last made up his mind to kick the bottom out of the barrel , and having done so he was able to get on shore , for the rocks by the sea were smooth and level ; but overhead there were high cliffs .