Harry used Expelliarmus , a disarming spell, on Voldemort in the final battle because Harry was never going to cast a killing curse on someone, even Voldemort.