Man fired for stopping burglar