SB 9.15.22
grhito lilaya strinam
samaksam krta-kilbisah
mahismatyam sanniruddho
mukto yena kapir yatha
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada:
When Ravana attempted to insult Kartaviryarjuna in the presence of the women and thus offended him, Kartaviryarjuna easily arrested Ravana and put him in custody in the city of Mahismati, just as one captures a monkey, and then released him neglectfully.