In a grounded system the first connection to ground is intentionally made when system is installed.
In an ungrounded system there is no intentional connection to ground but all parts otherwise required to be connected to an equipment grounding conductor still need connected together - that way if there is a fault to ground all these components are at same potential. When that first fault happens you now have a grounded system - everything will continue to function with no problems until a second phase develops a fault - then you have a short circuit between the two involved phases.
If you have an ungrounded system you are required to install ground detection system so that if the first fault does happen you can continue to operate until an orderly shutdown is possible instead of immediately losing part of a process that can not be interrupted without possible more risk than what the ground fault may present. But you need to address the indicated fault ASAP otherwise a second fault is going to cause an immediate shutdown anyway.
Like I said....Boom!
Remember....current is always returning to the source. In a grounded system, one side of the source (usually neutral) is grounded, so if any ungrounded part of the circuit becomes grounded, you hopefully have a nice low impedance path back to the source ground and you'll have enough fault current to trip the breaker. In an ungrounded system, there is no portion of the circuit that is grounded, so a ground on one phase will not have a path back to the source, so no trip current. But ground a second phase or touch ground and an ungrounded phase at the same time, and you quickly find out where the return path is, and it hurts! Ask me how I know.....