What happened to The Matrix of Leadership?

I'm sorry if this has been asked before and already answered...I just don't feel up to reading through every post on the boards to find an answer xD
Now, I've only seen the movie one time so far and I lost track of the Matrix after The Fallen took it, saying, "My Matrix!" and used it to activate the machine. What happened to it after that? Did Prime recover it or was it destroyed along with the machine and subsequently, The Fallen?
Now, I've only seen the movie one time so far and I lost track of the Matrix after The Fallen took it, saying, "My Matrix!" and used it to activate the machine. What happened to it after that? Did Prime recover it or was it destroyed along with the machine and subsequently, The Fallen?