Was the trim near either of its limits?
Hyd should have nothing directly to do with it.
Only things I can think of are a sticky limit switch in the stab compartment that perhaps was given a jolt by the elevators losing / getting hyd pressure or you had a column cutout switch stuck.These are under the floor in the fwd e&e compartment.