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

Pull your knees towards your chin.

Pull the rope.
the same meaning