Valmiki Ramayana Kishkindha Kanda Sarga 60 Shloka 16
Original Shlokaततः प्राप्तमृषिं ज्ञात्वा तानि सत्त्वानि वै ययुः। प्रविष्टे राजनि यथा सर्वं सामात्यकं बलम्।।4.60.16।।
1 source checked for this shloka
राजनि when the king, प्रविष्टे enters, सर्वम् all, सामात्यकम् including the feudatories, बलम् army, यथा like, ऋषिम् that sage, प्राप्तम् when he came, ज्ञात्वा knowing, ततः then, तानि all those, सत्त्वानि creatures, ययुः went.
'Just as the army including feudatories recede, when the king comes, all those creatures repaired to their dens when they knew the arrival of the sage at the hermitage.