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

She didn't leave until midnight.

The ship leaves at midnight.
the same meaning