CC Madhya 12.142

ei-mata kata-kṣaṇa nṛtya ye kariyā
viśrāma karilā prabhu samaya bujhiyā
Word for word: 
ei-mata — in this way; kata-kṣaṇa — for some time; nṛtya — dancing; ye — that; kariyā — after performing; viśrāma karilā — rested; prabhu — Śrī Caitanya Mahāprabhu; samaya bujhiyā — understanding the time.
Translation: 
The Lord thus chanted and danced for some time. Finally, understanding the circumstances, He stopped.