If you wanna go by what Wookieepedia
Originally Posted by Wookieepedia
Shaak Ti was selected to safeguard the Jedi Temple while Mace Windu took a group of Jedi Masters to arrest the Supreme Chancellor. Although she possessed considerable fighting prowess, Shaak Ti was chosen to stay at the Jedi Temple to organize the Jedi Temple's defenses. Moments before the Great Jedi Purge, Ti encountered Anakin Skywalker, whom she believed was on his way to the Chancellor's office to help Mace Windu, Kit Fisto, Agen Kolar, and Saesee Tiin in the arrest. She tried to stop him from leaving, but the young Knight was persistent, saying he was the Chosen One, and it was his duty to be present.
As the Jedi Temple's commander and defender, Shaak Ti was present during the fall of the Jedi Temple, during which Darth Vader himself set out to kill the Jedi Master. Knowing she would not be able to defeat Skywalker and the 501st Legion, she fled Coruscant and went into self-imposed exile on Felucia, where fellow Jedi Knights Aayla Secura and Bariss Offee were shot down. Some time later she met Jedi Maris Brood, who was bent on revenge against Vader. Shaak Ti convinced her to go into hiding on the planet Felucia, where she was training the Force sensitive natives for an eventual conflict with Vader and his secret apprentice.
Whether or not you want to call that cowardice or intelligence, I think, depends on how exactly you define the word.
The article doesn't give sources, though, unfortunately. The "" up above links to Shaak Ti in the Databank, but the Databank entry hasn't been updated for TFU and still says "Shaak Ti was believed to be killed in the onslaught."