So, it appears that your real problem is that you had a bad definition for a. Perhaps something like:
a := 1 + a
That will cause a $RecursionLimit error if you evaluate a. It is good practice when you have a problem like this to quit your kernel and start over, taking care not to redefine anything you don't need to.