Handbrakes are almost always mechanical cables, but they're almost definitely not enough to stop a car under high engine output. They're mechanical and not power-boosted (see comments on how much force is needed on the brake pedal without power assistance) and plus, most people have at some point driven around for a few miles before they realized that beeping sound was the parking brake stuck on the whole time.