Sprinkle baking soda over the bottom of the closet, let it sit overnight and vacuum the following day. The baking soda will absorb moisture plus odor, freshening your closet effectively in a short period of time.
Place about 1 cup baking soda into three bowls and place these throughout the closet.
Place two pieces of activated charcoal into two socks and place the socks in the bottom of your closet. This charcoal is found at pet stores and will eliminate odor quickly.
Air out the closet. Keep the closet doors open, open a window in the room so air can circulate and even point a fan toward the closet to air out any excess moisture.