Oh dear rosemary ! Would you not take the carpet off him and maybe put some light material over the hole, like grass cuttings or such ?? Just he wants to get out and is hampered, as you said, by the carpet !? :o I know frogs breathe through their skin and also through gills (?) but he will need to come out of that hole ! :o