Are you sending the drive back for an RMA or why you taking out the SSD?
To remove the drive... disconnect the power supply from the PC & wall than disconnect all internal connectors and remove the drive. Install the hard drive, reconnect everything than reinstall windows onto the hard drive.
If sending the SSD back, I would recommend connecting as a secondary drive and performing a secure erase to clean the drive.