He looked about and saw a hole in the tree trunk above him then he scampered into it just as the dog spotted him.