And if Sadoway is right, the two ways to make sure it does not happen again are to changethe design of the lithium-ion battery or replace it with a safer, but less-powerful battery technology.
And unless an electric bike has regenerative braking, which lets the motor help slow you down while charging thebattery at the same time, expect to changethe brake pads more often than on a standard bike.