Okay, so in my story, there's an 18th-century English ship-of-the-line that's been damaged by a storm to the point where she can't make it back to port. The crew manages to sail her to a nearby deserted island so that they can make emergency repairs. My question is, how would one do repairs "in the wild" like this? Can a ship that big be beached? If yes, how would it be done? And about how long would it take to, say, jury a mast and rig and patch a leak in the hull?