I lost my mind in San Francisco

Somewhere near Patrick O'Brian I got lost in: