The release of Mavericks brought about many changes, though one that has been unwelcome to some was the altering of the Power key's default behaviour. Prior to this version of OS X, pressing the Power key would bring up a dialog box asking you to select whether you'd like to Restart, Sleep or Shut Down the Mac.
Now that pressing the key puts the Mac to sleep, it's become a hard habit to break for those that have used the Mac platform for many years. Fortunately, Mac|Life explain how to change this behaviour back using a simple command in Terminal.