If you unhook your battery now, you'll have to reprorogram all your radio stations.
Just look in your owner's manual for the fuse layout. Locate the fuse for "PCM". This is usually a 5A or so fuse. Pull it and wait 15 minutes. Reinstall it and allow your PCM to relearn parameters.
exactly which fuse varies by model year which you failed to provid. For example, on a 97, it's in the underhood mini-fuse box. A 2000 uses F2 in the underdash fuse panel, etc.....
Anyway, just look in your owner's manual.
If your original owner's manual is missing, download a soft copy from www.fleet.ford.com
under the PARTS AND SERVICE tab.
1995 Mustang GT Convertible, only 68K miles.
2000 Ford Contour Daily drive.
2001 F250 SD, 6.8L, 4 X4.
2007 Mercury Mariner AWD - Wifey's daily driver