Pay off car loan or keep the savings?

I have a $11k car loan with a 4 percent interest rate. It’s a 6 year loan and I have 4 years left on it. I currently have $34k in a HYSA. Would it be better to pay off the car loan or keep the savings?