Vaishnava Samhita. Shri Vyasadasa Charitam II. Vol II Book VI Chp 3 Shlokas 18 - 19

न शशाक तदा व्यासो वंशीं धारयितुं हरेः 
समर्प्य तस्य पदयोः परं खेदमवाप सः 
मन्दिरस्य बहिर्द्वारमागत्योपविवेश सः 
मूले मन्दारवृक्षस्य व्यासः शोकसमाकुलः

Vyasadasa became dissapointed as he could not dorn the hand of Shri Krishna with that flute and hence he placed it at the feet of Him with reverence. Deep in sorrow, Vyasadasa was sitting under a mandara tree outside the temple.