‘The overall sequence of a Bharata Natyam performance”, states Balasaraswati, “thus moves from “mere meter; then melody and meter; continuing with music, meaning and meter; its expansion in the centerpiece of the varnam; thereafter, music and meaning without meter; (…) a non-metrical song at the end.” Shlokam or mangalam is a devotional piece either interpreted by the dancer without rhythmic structure, like a prayer, or by the musicians as a closing prayer or offering.
This is very like the experience of the devotee emerging from the temple sanctum into the bustle of the temple proper, then leaving the temple with a silent prayer in the heart.