Of course it won't work when shorted to ground. The ground is open. You are not shorting to anything.