Verse 12

गच्छतस्तिष्ठतश्चैव तस्यैवमभवद्धृदि ।विनोदाय विचित्तस्य कथा स्वमनसा सह

In plain words

Whether walking or standing still, this arose in his heart: for the diversion of one whose mind was free — a conversation with his own mind.