Does "underestimate" mean the same thing in these two sentences?

Don't underestimate the danger of such a raft trip on this river.

He underestimated the work that went into the renovation.
the same meaning