You must find a key in Mixy's Cave and fix all the fuse boxes. Then you must CAREFULLY head back to the exit but don't leave just yet. A door will have appeared by the counter because all four fuseboxes are now working. Use the red key (press the use item button) and then enter the door.