"Do as you think fit."
I feel like it's a incomplete sentence.
Shouldn't there be "it" put before "fit"?
Set phrases can seem to violate a grammar rule, but once you recognize them as such, you can try substituting their definition to see how they work.
Do as you think fit. -> Do as you desire.