I hope the snake was alright...tails can be pretty important, & injury or infections can later cause the demise of the owner, or at the very least, pain, elimination & breeding problems until healed.
Cobras are pretty smart (observant)...I'd hate to be the next biker that cobra happens to meet, lol.