The ricin would be for Walt's own personal use so that he doesn't die from wounds in a shoot out or so that he doesn't die in prison, either.
The only way Walt ends up back at that house after he is known to all to be Heisenberg is because he was never caught when his secret got out.