When the power goes off the filter stops and the water in the canister stays where it is keeping the media wet, if it is a planned powercut the valves can be shut off before hand to seperate the filter from the tank.
If your power is going to be off for 6 hours i strongly suggest you either remove the media from your internal filter or get a battery powered air pump to run a air stone in the tank for aeration. Bacteria use masses of oxygen and will soon deplete the tank of any oxygen reserves which will suffocate the fish, not only that but as the bacteria starts to die off from being disconected from its oxygen and ammonia source it will pollute the water rapidly which could kill all the fish.
The main problem with Juwel filters is that a lot of sludge and gunk is able to build up inside the filter casing due to the by-pass system. Because the filter casing is fixed to the glass it is difficult to get to this gunk and if it goes unnoticed can lead to sudden massive rises in nitrate, pH crash and overload of dissolved organic solids. The best way to deal with this problem is to stick a hose down inside both compartments of the filter casing (after removing all media) and suck out all the sludge, but this is fiddly and awkward. Its far easier to cut the juwel filter out, toss it in the bin and use another more user friendly and reliable filter.