I think that it is not part of the certification requirements for ALL autopilots that the plane be in trim when the autopilot is disengaged.
I have flown a few planes where turning the AP off will find the plane out of trim, and I have read numerous accounts of where a pilot turned of the AP and found that the plane rolled left because they had not changed fuel tanks for the entire flight.