The prayer invokes the intercession of the Blessed Mother to protect a deliver in the midst of temptation.
The Virgin Mary is a perfect intercessor for such an occasion. She is our Heavenly Mother and can easily stretch out her motherly arms to embrace us and deliver us from a particular temptation.
Here is a prayer composed by St. Alphonsus Liguouri that asks the Blessed Mother’s intercessions and places our souls into her loving lands.
Most holy Virgin Immaculate, my Mother Mary, to thee who art the Mother of my Lord, the queen of the universe, the advocate, the hope, the refuge of sinners, I who am the most miserable of all sinners, have recourse this day.
I venerate thee, great queen, and I thank thee for the many graces thou hast bestowed upon me even unto this day; in particular for having delivered me from the hell which I have so often deserved by my sins.
I love thee, most dear Lady; and for the love I bear thee, I promise to serve thee willingly for ever and to do what I can to make thee loved by others also. I place in thee all my hopes for salvation; accept me as thy servant and shelter me under thy mantle, thou who art the Mother of mercy.
And since thou art so powerful with God, deliver me from all temptations, or at least obtain for me the strength to overcome them until death. From thee I implore a true love for Jesus Christ. Through thee I hope to die a holy death.
My dear Mother, by the love thou bearest to Almighty God, I pray thee to assist me always, but most of all at the last moment of my life. Forsake me not then, until thou shalt see me safe in heaven, there to bless thee and sing of thy mercies through all eternity. Such is my hope. Amen.