The 5.4 magnitude quake late Monday sent people scurrying from buildings, unused to the kind of seismic events that regularly shake neighbouring Japan.