You probably had the ‘guide’ cube hidden in the viewport but on for rendering. Press Alt+H to unhide all objects. Most likely you moved everything apart from the guide cube to a new layer – you could have probably just turned off rendering of the guide cube.