In case you’re reading Foucault and wondering when exactly the author died, it might be helpful (if you haven’t done so already) to read Barthes’ ‘The Death of the Author’, which explains exactly that idea. You can find the text here.
Link to pdf below:
Link to text below:
Cours d’Antoine Compagnon sur la notion d’auteur (in French)