Give it a move order very close to its rear and it will move backwards while still firing.
The Megalith' s cannons are considered Proton Cannons, even though they look nothing like Proton Cannon rounds.