This is a tricky spot to be in. More than likely a wild caught spotted turtle won't do well in captivity, but releasing it has issues in itself. When you release an animal that has been in captivity you risk exposing a natural population to illness and altering the gene pool.