Middle English wrak, borrowed from Middle Dutch wrac, wracke & Middle Low German wrak, going back to Germanic *wrak-a- "something driven," noun derivative from the base of Germanic *wrekan- "to drive out, pursue" — more at wreak
Noun (2)
Middle English wrake, wrak, going back to Old English wracu (genitive wræce) & wræc "vengeance, persecution, misery," noun derivatives from the base of Germanic *wrekan- "to drive out, pursue" — more at wreak
Verb (1)
earlier, "to undergo shipwreck, cast ashore by shipwreck," derivative of wrack entry 1