Is the word "take" used in the same way in the following two sentences?

Tomorrow the doctor will take the cast off her arm.

He took off his shoes.
the same meaning