No sites make this clear. Does anyone know?
After battling against Blue for the first time, the Pikachu will choose to stay out of its Poké Ball and follow the player around unless he faints, is put into storage, or is traded.
Hope I helped. :) Source