When his novel is a commercial failure, a critically acclaimed writer must teach at his former prep school.