@Gabriel Starr, I wouldn't say that 401k's are bad. They're a good investment for the masses. As a RE investor, you have to realize that we're a group that is comfortable thinking outside of the box & taking on more work & risk. Yes, I believe that long-term RE investments will outperform. But it also comes with a cost of extra work & complexity.
You mention that the 401k & investment have fees, so does RE. Property taxes, insurance, repairs, software etc. We just tend to mentally think of this stuff in a different way as they are not labeled "fees". As humans, we're taught that "fees" are bad so our brain tends to process anything with the word "fees" differently than we would process "property tax".
All that being said, if your 401k is mostly in Roth assets, your "cost" to withdraw it may be pretty minimal. You can withdraw your contributions out of a Roth IRA anytime tax free as a return of your basis. The gains are subject to a 10% IRS penalty & taxation. However, if you're talking about a Roth 401k (vs. a Roth IRA), you may not be able to withdraw the full amount of the assets. In a 401k, your technical term is called a "participant". IE, you're just participating in the plan that your employer setup. You only have a certain amount of control & options. Think of, you're riding a bus. You're a passenger. You can't do whatever you want, you have to do what the bus driver says & go where the bus driver drives.
Email your HR department & ask for your "summary plan description". They are required by law to give this to you annually & it spells out all of the boring details about your plan. This is where it will tell you details about withdrawals, loans etc.