Are you sure he's that dim? Think about it, he's locked in a cupboard with all the food he could want for the foreseeable future. What dog in his right mind would draw attention to his location in those circumstances? I think your dog was a closet (ha ha) genius.