Yes. This is called a "voluntary repossession" or a "voluntary surrender." It might not hurt your credit as much as a repossession, but your credit will still take a hit. You may be able to work out a deal with your lender to give the car back and not have to pay anything more on it.