The Mass Shadow generator was the device Bao Dur created.
When it was set on during the battle, it pulled everything torwards the planet surface.
So basicaly every ship that was up to a certain range from the planet crashed to the planets surface.
The commande was given by the general exile.