It was the grace of God: instead of putting Paul out of commission, God saved him.
Watch the Teaching: Why Didn't God Answer Paul's Prayer to Escape Suffering?