Congratulations for finding him, but dont use tape anywhere near reptiles
now you have your experience with an escaped snake, dont let another bad experience with a taped snake follow. Maybe, depending on the setup, you can just put a heavy book or stone or something on top of it.