Michael - GRJ is correct as there is a process to "Restore TMCC Functions" (sound, lights, motion, smoke operation) in case - in the course of normal operation - static electricity or an electrical 'spike' may have caused a loss of function. The procedure for this is as follows...
1. Move switch on loco from Run to Program
2. Turn on Command Base
3. Place locomotive on track, then turn on power to track
4. Press 'Eng' then input locomotive ID#. (Note: Whatever number you've reset it to) and then Press 'Set'.
5. Press 'Eng' then then input loco ID# again.
6. Press 'AUX 1', then input the reprogramming code number that corresponds to your locomotive. (Note: This number can be determined by contacting Lionel)
7. Turn off power to track, wait 10 seconds.
8. Remove loco from track, move switch from Program to Run.
9. Place loco back on track. Turn power on to track.
10. Press 'Eng' and ID#, then operate as normal.
PS - As GRJ says, the item number of your engine would be really helpful.
GOOD LUCK!