After front line service the Starfighter soldiered on as a target tower. You can see the gun has been removed for this task.