Apologies, can you be more specific? I’ve got a 2008 JK with Manual 6 speed.
Are you saying it won’t start at all right now, or just intermittent?
What does it do? Does it click, or complete nothing?
If it’s sometimes, what are you doing differently when it works?
In Gear it Neutral should make no difference because you have to press the clutch either way.
If you have new battery and starter, I’d bypass the clutch safety switch and see if it works 100% of the time. Then you know, that switch needs replacement and stop the bypass.
Or leave it bypassed depending on your comfort level. You don’t want to hit the starter and run through your garage wall or a person or kid.....if you don’t trust yourself to make that mistake.
Starting point to check. Search bypass clutch safety, Chris might even have a how to, I’m in the truck and can’t look this second.