Use the small iPod opening tool to release the brown clamp holding the hard drive cable in place. The tab will rotate up 90 degrees towards the display, releasing the ribbon cable.
Slide the orange hard drive ribbon cable directly out of its connector. The cable may be attached to the logic board with some adhesive. If the cable doesn't immediately come free, carefully pull up on the cable to loosen the adhesive.