and when the extremity of his asceticism was leading nowhere and had begun to threaten his life , it was again kama mara , who through the most artistically staged encounters , the temptations , contrived to deliver him .