SANTA CLARA -- The 49ers re-signed cornerback Perrish Cox on Monday, coach Jim Harbaugh said.