Disconnect the battery cable (A) from the mainboard connector first, then disconnect the macro keyboard cable (B), keyboard cable (C), and touch pad cable (D) from the mainboard connectors.
Note: Failure to unplug the battery before removing the upper case can result in damage to the main board. It is also important that all cables are plugged in before plugging in the battery cable while reassembling the system. Once the battery cable is connected, it should be secured to the main board with the black cloth tape that came preinstalled from the factory.