Removing sleep in emergency