Others have answered this aready, but with a hot-to-ground (or hot-to-neutral) short circuit, a large current will flow, and the breaker will trip, regardless of whether the breaker is GFCI or non-GFCI, and regardless of whether the load is turned on or not. With a connection between neutral and ground, a non-GFCI breaker will not trip. That is because this does not create a large amount of fault trip. However, with a connection between neutral and ground, a GFCI breaker might trip, and it might not, depending on whether the load is turned on or not. Before you connect the neutral to the ground, if the load is running, then some current is flowing in the hot wire, and all of that current is returning via the neutral. The two wires have the same current, and that is what the GFCI device is measuring. If the load is running, and you then connect the neutral to ground, the same amount of current will flow in the hot wire, but the current returning to the source will be shared between the neutral wire and the ground wire. Therefore, as the GFCI device compares the currents in the hot wire and the neutral wire, it will see a difference, and it will trip. Finally, if the load is turned off, and you connect the neutral to the ground, nothing will happen, not even with a GFCI breaker. That is because no current is flowing in the hot wire or the neutral wire, and the GFCI device will not detect a difference in those two currents.