Prevent turning off the display when MacBook is physically dropped
I think you are referring to

Disable the Sudden Motion Sensor to avoid the harddrive heads parking them due to loud noise in a club.
To check if Sudden Motion Sensor is activated, use the following
command and look for the sms setting (1 = enabled) :
# sudo pmset -g
To disable Sudden Motion Sensor, use the following command :
# sudo pmset -a sms 0
To enable Sudden Motion Sensor, use the following command :
# sudo pmset -a sms 1
From http://rc.vc/files/traktor/optimizing_macbook_for_traktor.txt

https://superuser.com/questions/547298/macbook-screen-switch-off-when-moved
or possibly
Screen turns off when I move my MacBook when it is on the sleeve