The only way that can be prevented is to shut the banking system entirely, or perhaps place a limit on the amount of withdrawals that can be made over the transition period.
FORBES: Greek Euro Exit: 60% Currency Devaluation, Default, Banking Sector Collapse