For commercial reasons the film's [Dr. Caligari] producers changed
the ending -- which had originally involved Francis's unmasking of
Caligari -- so that Francis's 'anti-social paranoia' about those in
power would not harm the public.
-- Mark R. Siegel. Pynchon, Creative Paranoia. (32)