Narrative:

After leveling off at 1;500 ft; heading north from orl; I turned on the autopilot heading then altitude. A few seconds later I reached down to close cowl flaps and the plane pitched up 10 degrees. After I disconnected the autopilot; tower stated class B [is at] 1;600 ft and asked my full call sign as I was getting the plane under control and descending back to 1;500 ft. I think I may have gotten as high as 2;000 ft and only for a few seconds. I have had an a&P re-rack the autopilot and will make an appointment to have the autopilot checked out as soon as possible.

Google
 

Original NASA ASRS Text

Title: BE55 pilot experiences an altitude deviation departing ORL while attempting to close the cowl flaps. The autopilot was engaged and suddenly pitched up into the Class B airspace above.

Narrative: After leveling off at 1;500 FT; heading north from ORL; I turned on the autopilot HDG then ALT. A few seconds later I reached down to close cowl flaps and the plane pitched up 10 degrees. After I disconnected the autopilot; Tower stated Class B [is at] 1;600 FT and asked my full call sign as I was getting the plane under control and descending back to 1;500 FT. I think I may have gotten as high as 2;000 FT and only for a few seconds. I have had an A&P re-rack the autopilot and will make an appointment to have the autopilot checked out ASAP.

Data retrieved from NASA's ASRS site as of April 2012 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.