While most pilots use a checklist to start up and to conduct the before takeoff checks, very few use one during the shutdown. Without the use of a checklist, it's easy to forget critical items such as shutting off the master switch or turning the key to the off position. If your airplane has a shutdown checklist, use it. Even so, unfortunately most airplanes' shutdown checklists are quite limited. You may want to create your own.