What I'm trying to do is allowing the current to move through only one component. In the circuit shown, DC voltage is running two components (Z & C), also charging the capacitor
When voltage cut, then capacitor give current to Z & C. What I want to do is allowing the current to flow through only C but not Z. I tried to put zener diode on the line indicated by light blue but the current still flowing through Z (zener diode is not working).
How can I make this work? What can be the problem?