Dow surrenders 400-point gain, manages to close positive