Alright, what if I pretend to be desperately ill with food poisoning? The guard, drawn by my cries of pain, will come to investigate. Meanwhile, you dig a pit and line it with makeshift punji sticks made from sharpened toothbrushes. The guard falls in, Bob's your uncle, and we've got the key.