In all cases where the jury are discharged or prevented from giving a verdict by reason of accident or other cause, during the progress of the trial, or after the cause is submitted to them, the action may be again tried immediately or at a future time, as the court may direct.
SDCL 15-14-33