The president said that the country was not out of the Wood yet.
out of the wood; means out of danger or difficulty