In an ecosystem, energy enters in the form of solar energy or light energy from sun. Solar energy is transformed into various other types of energies like kinetic energy, chemical energy, potential energy, etc; but it eventually leaves the ecosystem in the form of heat energy.
The mitosis stops when chromosomes are at the maximum condenstation, it is practically metaphase but the chromosomes are not attached to the spindles so they don't form the equatorial plate.