If you hold right on Controller 2 and then jump, Mega Man will jump the entire height of the screen. Now, fall into a pit so that Mega Man "dies" and all his energy drains. Before the screen changes, use the code to leap back out of the pit. Mega Man will have no energy and cannot use his arm cannon, but he cannot be killed, either. The stage will have no music, but you can still complete it by using a special weapon. The invincibility will be undone if you pick up an energy refill capsule. NOTE: If you hold right on Controller 2 before falling down a pit, you will not die or lose energy and can leap back out.
Taken with permission from Flying Omelette.