Fact 1: a battery converts chemical energy into electrical energy. 
Fact 2: If we disconnect the battery, the flow of electrons is no longer driven by the chemical forces in the battery.
A battery produces a flow of electrons.