Always make sure you have an emergency fund that is easily accessible before putting large sums of money into investing or recasting a mortgage, or any other endeavor for that matter. Security is essential.