A gray dog lay on the floor wagging its tail and then quickly rose when the bark sounded.