You seem to be taking two totally different scenarios.
Your first is, aircraft on the runway, so retract flaps (ie configure for take off) then carry out a take off.
Your second scenario, I hope is meant to be a go around from low level where you would apply power, adjust pitch , reduce drag flap and carry out a missed approach. If, in a jet, you have landed and something pulls onto the runway, it is a brave man that applies power with landing flap selected and tries to take off from an unknown runway length! to avoid an obstacle.