Just do the trick in reverse, surely?
yes no > /dev/null
No you have to get the yesses back out
cat /dev/null | yes
No you have to get the yesses back out