A cobra banged against the glass inside the glass box, making a thud.