Published: Nov 19, 2012 12:28 PM EST
Updated: Nov 19, 2012 9:31 PM EST

FORT MYERS, Fla. - The capital murder trial of Robert Dunn has been put on hold.

Dunn is charged with shooting and killing his estranged wife inside a Cape Coral daycare almost 5 years ago.

Monday morning, Dunn made a series of unexpected decisions in the courtroom, prompting his defense attorney David Brener to ask the judge for a mental evaluation of his client.

Dunn's first surprise move, included asking to testify on his own behalf, minutes after his attorney told the judge, they decided he would not testify.

After taking a break and consulting again, Dunn returned to the courtroom and said he no longer wanted to testify but instead, wanted to plead guilty to all charges against him.

Brener told the judge Dunn's odd behavior seemingly came overnight, and is due to a mental illness. Brener says his client suffers from bipolar disorder.

"I want the court to not accept his plea of not guilty and to appoint two experts to determine if he has a factual understanding of what he's doing," Brener told the judge. 

Prosecutors did not object to this request.

The trial will be delayed for a week, while Dunn is evaluated.