This is always happening to me most of the time, I sell my coins when the market is in downtrend especially when I really needed it or emergency purposes. I cannot blame the market but to myself the outcome of my decision. Yes, it is my decision so there is nothing to blame but myself when the time I will regret selling.
You shouldn't regret such decision. You said so yourself, it's an emergency, I don't know what it is for, but for example to save someone's life, or due of a payment or something. Whatever it is, as long as it's an emergency (urgent), or any significance at all don't regret it over money. Why? Money can be earned again and again--life(?) you can't, time(?) you can't.
There are certain things which have no comparison with money such as time, someones life, health and freedom. Undoubtedly money could be earned again by working smartly but once someone dies, there is no way you can get them back. Always we shall try to make decisions with cool mind and keeping moral values in view. Money is not everything that a man needs for a survival and peace.