After his grandmother dies, leaving him alone, Nick runs away from his orphanage in 1906 Texas to San Francisco. For a while he lives on the streets, hungry, cold, filthy, and lonely, until he talks his way into a job at a stationery shop in exchange for a place to sleep in the basement. The owner even trusts Nick enough to leave him in charge of the shop overnight while he goes across the Bay on business.
But while he's gone the San Francisco earthquake strikes. As fire advances through the city, Nick tries to take care of the owner's dog, Shake, as well as a little girl from across the street and her pregnant, injured mother. Forced to evacuate, they head for Golden Gate Park, the last refuge of those who couldn't make it out of the city.