Gravity doesn't play into it much any more; semaphore signals are increasingly rare by this point, certainly on any main line. Modern electric signals simply default to danger in the absence of contact to the signal box, and fail-safe behaviour is maintained by the rule book stating that a signal displaying no aspect is equivalent to a signal displaying danger.