What is the confusion here?
Refer to my previous post.
Short field landings are taught in order to allow you to deal with precautionary landings and/or a forced landing. One is a MAYDAY and one is a PAN PAN. So yes taking off is a secondary consideration