What is figuratively, to do something in return for something done; as, to reply to a signal; to reply to the fire of a battery called?

reply — Figuratively, to do something in return for something done; as, to reply to a signal; to reply to the fire of a battery. (Webster's 1913.)

Sources