I was diving at Pt. Lobos, CA with my Assistant Instructor. We were at about 40 FSW, 15 minutes into our dive. Louis, after signaling me, took off in pursuit of a large eagle ray, I was along side of him, about 2 feet back. He suddenly stopped, spat out his regulator and pointed to his mouth (signaling me to buddy-breathe). I gave him my regulator and we settled into a two-breath-each rhythm while maintaining our neutral buoyancy. We were under a very dense kelp canopy and had to buddy-breathe while traveling about 100 yards to a point where we could surface. We did so without further incident, surfaced, returned to our surf mats and to shore. Later examination of his regulator second stage showed that he had bitten off a tab from his mouthpiece and it had lodged in the regulator behind the actuating lever in such a fashion as to cut off his air supply. After some experimentation I found that in this circumstance, if I attempted to depress the purge button I could feel it stick and that if I sharply stuck the second stage it would then function.