- Switch it off
- Keep the rightmost white key (the highest C) depressed
- Switch it on again, holding the C depressed for about ten seconds.
Don't do this if you've saved songs, settings, etc. This technique is purely to return your Yamaha keyboard to the state it was in when you bought it.