Intermittent Electrical / Brake failure . Put vehicle in reverse . Brakes failed to stop vehicle . Vehicle has had electrical issues before . Waring lights came on for steering and tire pressure in the past . Recall then came from Hyundai for the ICCU .45 minutes before the collision, the front collision warning came on when I was stopped at an intersection with no one in front of me . I stopped the vehicle and turned the vehicle off . Turned on the vehicle and it reset the warning lights and sounds , and I continued to drive . Later while pulling out of a parking space in reverse ,I stepped on the brakes but the vehicle did not stop . I pumped the brakes to no avail . After the collision , the brakes worked again when the tow truck driver placed the vehicle on the flatbed .The Hyundai dealer , after the vehicle had been in their possession for several weeks with the battery disconnected, said there was no problem They also had a factory rep look at the vehicle and he made a report . We have not been able to get a copy of the report . Vehicle is still at the dealership . When notified by the factory rep of their claim that the vehicle had no problems , the vehicle had been out of service more then 30 days .