suddenly sensing the madness ahead the horse changed direction , leaving the path in front and disappearing into the thick undergrowth , weaving its way in and out of the trees , trying not to hit them .