Normally, there is no problem in shutting down the board with a hard power off, unless you have just built the project or otherwise created files. Every time you make changes to your project make sure you shut it down gracefully. Once deployed, you can safely power off without notice.