I did not try to hold it.
I flipped it in a small trash can with the first thing I reached, a paint roller (dry, no paint).
It tried to bite everything it could reach. It was really upset when I approached it.
I’m not suprised it was really upset. I’ve seen several TV shows about snake removals from homes. The critters are usually very scared and very angry and bier at everything they can hit.