Question on Stress and Weight Gain

Options
I just went through a death in my immediate family. I managed to track my calories while I was back home with my family and I discovered that while my numbers indicate I should have lost 2-3 lbs over the last two weeks, I have managed to gain a pound. I have an appointment with my Dr. in a couple of weeks anyway, but I was wondering if Stress can mess up your metabolism even if you are making your calorie goals for weight loss. This is the first time I've tracked through something this stressful, so I would appreciate any advice you can give.