It is not known what exactly happened during his confinement, but Smart did work on two of his most famous poems, "Jubilate Agno" and "A Song to David". What is known is that he may have been in a private madhouse before St Luke's and that he was later moved from St Luke's to Mr. Potter's asylum until his release. At St Luke's, he transitioned from being "curable" to "incurable", and was moved to Mr. Potter's asylum for monetary reasons. During this time, Anna left and took the children with her to Ireland. His isolation led him into writing religious poetry, although he abandoned the traditional genres of the 18th century that marked his earlier poetry when he wrote "Jubilate Agno". Although it is debated as to whether his turning inward to examine himself in his poetry represents an evangelical type of Christianity, his poetry during his isolation does show a desire for "unmediated revelation". There is an "inner light" that serves as a focal point for Smart and his poems written during this time, and that inner light connects him to the Christian God.