Original: He chose instead the unexpected course of forcing the pope to grant him absolution by doing penance before him at Canossa, where he had taken refuge.
Simplified: Henry tried to force the pope to grant him absolution by doing penance before him at Canossa, where Gregory stayed.