The frame must not be unplugged, it may have a backup battery with the protection still inside.
The basic idea of the picture frame, however, is that you can play pictures on the frame from anywhere (possibly also the grandchildren), but for this, the internet connection would have to be set up.