he had wrapped his cloak around her shoulders and sworn to protect her , but that was as cruel a jape as the crown the freys had placed atop the head of robb stark 's direwolf after they 'd sewn it onto his headless corpse .