shock to the system

Examples:

1.

Haruki Murakami wrote the book, ''After the Quake,'' when his homeland took a terrible
shock to the system with the 1995 earthquake in Kobe.

(click here for original context)

[see last sentence of paragraph 3]

2.

This morning when I weighed I was 10 kilos heavier than this time last year! It was a real
shock to the system, and I felt depressed all that week.

(click here for original context)