On a side note another interesting exercise is an engine fire occurring just before the normal acceleration altitude. By the time the engine will be shutdown the airplane will be in CLB already with a very similar sequence of events as described in this thread.