When the punter, QB or anyone else on offense kicks or bats the ball out of the endzone, it is a penalty. However, no team would accept the penalty, because they get two points for the safety. If the penalty was accepted, the team that kicked/batted the ball would get to run the play over and the two points would come off the board.
Alway against my home team lions