abgd
If I had a laptop actually on fire, the plan would be
- engage autopilot for altitude hold (AP ALT)
- close the throttle
- rudder trim fully right
- at onset of stall buffet open door and chuck laptop out
- recover as normal
Otherwise try to remove the (hopefully only smoking at that stage) battery and put it in the fireproof bag.