Shane Lowry kept his cool to retain the Ryder Cup for Europe, denying the United States a dramatic comeback