Continue rotating the board toward yourself until you have enough room to reach the SATA connector (shown in red).
Insert the blunt end of a metal spudger between the SATA connector and its socket. Twist the shaft of the metal spudger to separate the connector from its socket.
Disconnect the SATA cable from the logic board.
Lift the logic board out of the rear case by its edges, minding any cables that may get caught.