To fill with horror and/or indignation; to dismay.
To frighten (someone) to such a degree that a significant improvement in behavior results.