Never a good idea to try and grab someone to scare them, as your buddy found out.
When I was a kid my 'friends' used to try and scare me. When one of them jumped at me at night on a beach, I tried to stab him with a hunk of pointed wood I was carrying. Fortunately he jumped back just in time. After that they decided it was not fun any more.