I have had this happen before, and always written it off to my lack of experience. It's one of those "what's it doing now" items. I use the expert mode. Today I took a short flight and the following occurred: I set the autopilot to heading and altitude hold, with altitude set at 2800. All was normal. Then I had to punch off the autopilot and hand fly. At that time I changed the altitude setting to 3500, while climbing through about 3300. I again turned on the autopilot, and it began descending, I'm guessing to the previous 2800' setting. Had to go to pitch and command nose up. Shouldn't this happen automatically in his scenario? I get that it shouldn't if the autopilot stays engaged, but if I turned it off and back on?