A climb from seventh after dressage set up a tense showjumping phase after a cross-country elimination.