Understanding the switching-off mechanism in Ag+ migration based resistively switching model systems | Synapse