During the Mahabharat war between Pandavas and Kaurvas, baba Shyam (Veer Barbrik) came to the war field with 3 baan (arrows) and Shree Krishna, even knowing his potential asked him reason for his arrival at war field with only 3 arrows and asked to prove his capabilities by targeting all leaves of a Pipal tree(having uncountable leaves) with just one arrow and placed one leaf under his own feet. Baba took the bow and an arrow and made a hole in all leaves with one arrow and also hit the leaf under the foot of Lord Krishna. On asking to whom he will support in the Mahabharat, veer Barbrik told that he will support the one being defeated. Then considering his such act to be against the Pandavas scope to win, Lord Krishna asked him that the war needs one stringent fighters sacrifice (only 3 such fighters being available – Krishan himself, Arjun and Barbrik), Baba offered himself for ultimate sacrifice and donated his head that's why reminded and worshipped in "Kali Yuga" as "sheesh ke daani & haare ka sahara", as announced by Lord Krishna and also the name Shyam was given by Lord Krishna.