I believe cabinet secretaries are immediately replaced by their deputies. The Deputy AG, for example, became acting AG upon Barr’s resignation.
I don’t think acting get a vote on this.