This would have happened without the crackdown as well. That’s why a referendum often requires a quorum of voters: if the majority of people think it’s pointless, they don’t show up and the referendum is void.
But with the crackdown, now independentists can claim a moral victory as well as a vindication of their reasons, and they can even claim the missing voters could have been for them, because cleary it was unsafe for most people to show up regardless of political inclination.
Good job, Spanish government, you’ve just strengthened your enemies. This was phase 3 of the classic Gandhi quote.