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