An ideal battery would produce an extraordinarily large current if shorted by connecting the positive and negative terminals with a short wire of very low resistance. Real batteries do not. The current of a real battery is limited by the fact that the battery itself has resistance.