Early Withdrawal Retirement Plans

Question: how can i use part of my 401k to invest in a picticular stock with paying tax on that withdraw?
I want to buy a certain stock woth some of my 401k.It will still be my retirement investment but from what I understand if I withdraw it & purchase goodsor services (stock) I will have to pay tax on it unless I go through a investment firm’s 401k savings plan.Why cant I just invest it myself in that picticular stock? I hope i’ve not rambled on too much & cloudied the sky.Thanks—-Recently I just pulled out of the stock market with my finacial group & put some in bank IRAs& & some with a fixed annunity I would like to put some in a stock that I think is doing well–how can I do that w/o paying a Early Withdrawal tax on it? Whew!!!
Answer: you cant. You can only invest with who what products your 401k provider has. To do this you have to roll it over to a self-directed IRA
Early Withdrawal from Retirement Accounts