Systems and methods for operating an engine that is started via expansion stroke combustion are described. In one example, the method increases air flow through the engine during an engine stopping process so that a larger amount of air may be trapped in a cylinder that is on its expansion stroke so that greater amounts of engine torque may be provided during engine starting.