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

Ditch a plane.

Ditch a car.
the same meaning