later he devotes himself to writing and painting