Emergency treatment of electric vehicles