he bent over and was about to pick up the reliquary and the bones of the saint , when , from deep in the shadows a large cudgel swung with some force and landed directly on the red bonnet the sergeant was wearing .