When you are feeling grumpy, don't try to keep quite about it. Be honest about grummy moods. Let the people around you know that you are feeling "crabby". You will only feel more cranky with people asking you what is wrong or if you are mad at them. There is nothing wrong with being grumpy! It happens!
Once you allow yourself some "grumpy-time", you will cheer up and be happy again in no time.