The indices recovered from early losses but failed to maintain momentum through the session