there's a bug in firefox that sometimes occurs, it means that even though you have closed firefox it is still running..
I'm on linux so it is slightly differrent but iirc you need to do ctrl-alt-delete and look at program manager or something similar, firefox may still appear there even though you think you have closed the program. From there you can end firefox