The Pāli Canon's Ambattha Sutta, which challenges the caste system, tells of one instance of him appearing as a sign of the Buddha's power.
A popular story tells how Vajrapāni kills Maheśvara, a manifestation of Shiva depicted as an evil being.