Why not use something like this?
Amazon.in: Buy Leepesx LINEPAUDIO o Switcher RCA 2 in 1 Out / 1 in 2 Out A/B Switch Stereo o Splitter Box with No Distortion RCA Jack for Switching Between Computer Speakers and Headphones online at low price in India on Amazon.in. Check out Leepesx LINEPAUDIO o Switcher RCA 2 in 1 Out / 1 in 2...
www.amazon.in
I share my Sub (REL HT Series) between my AVR and Active Speakers. The Pre-Out of the AVR goes to the .1 input Sub, whereas the Pre-Out of the Active Speaker goes into the input port adjacent to the .1 port. No manual switching of RCA cable is required.