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

He came out of the coal mine with a face covered in black.

Most coal and ore comes from open-pit mines nowadays.
the same meaning