he worked as a writer for the rest of his life