The Woman Who Survived A Shipwreck, Starvation, And Isolation — The Incredible Story Of Marguerite De La Rocque
The fact that she survived suggests that she managed all of this.
How she managed it is not documented.
The historical record tells us that she survived; it does not tell us the specific practical steps by which she did so.
The absence of this detail is historically significant — it reflects the fact that the accounts were written by people for whom the practical mechanics of survival were less interesting than the spiritual and moral dimensions of the story.
But the practical mechanics are what allowed her to be alive to tell the story at all.