Without knowing whether it was a light or heavy displacement boat, fin or full keel, cutter or sloop or ketch, and the amount of mainsail up and the wind direction vis a vis the heading, it is pretty difficult to comment. The general idea of heaving to and subsequently forereaching or "crabbing" is to cancel out the forces and to stop fighting the sea. Given enough leeway to the shore, the crew can rest up until the storm passes and maybe only lose 20-50 miles toward the goal.
The first instance sounds like the boat had too much sail up and that it may have been attempting to back the
jib...it's hard to tell. Personally, unless I was racing, I would probably just
rig a staysail only and attempt to heave to with a lashed
wheel, opting to drift a knot to leeward and presenting as little boat as possible to the wave trains.
There's another method using a sheet, some shock cord and a tiller, but I don't think that's applicable here.
On some boats heaving to simply isn't possible and on others the "sweet spot" is sometimes too narrow to let a
wheel lock or a length of shock cord handle the job.