England seamer’s heroic rearguard could yet be his final act in international cricket