it was with no small difficulty , and only after the expenditure of considerable time , that all the floating ships of the squadron were gradually brought to rest on this lone mountain top of the moon .