Markets regain footing, face uncertain path