Super Mario World/Valley of Bowser 4

To get to secret exit, get Yoshi in the beginning. Keep him till you see the key near the end. Use him to grab and hold the key in his mouth, then walk into the keyhole.