A Police Northern Communications spokesman said no one was injured in the stand-off.
"I understand a man who was not very happy and had locked himself in a room has been removed.
"Police forced the door to the toilet area that he was in and took him into custody. He was transferred to a more secure ward in the hospital."
Police would not be laying charges, he said.
The man said he had no plans to hurt himself or anyone else, and just wanted to be heard.
He told the Bay of Plenty Times he had made numerous official complaints about his treatment at the hospital and wanted people to listen to him.
He said he locked himself the hospital toilets with enough provisions to last four days.